Skip to content

Commit 0489fe2

Browse files
crtrottmhoemmen
andauthored
Update include/experimental/__p0009_bits/utility.hpp
Co-authored-by: Mark Hoemmen <mhoemmen@users.noreply.github.com>
1 parent f2188f5 commit 0489fe2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

include/experimental/__p0009_bits/utility.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ namespace detail {
1919
using std::remove_cvref_t;
2020
#else
2121
template<class T>
22-
struct remove_cvref {
23-
using type = std::remove_cv_t<std::remove_reference_t<T>>;
24-
};
25-
template<class T>
26-
using remove_cvref_t = typename remove_cvref<T>::type;
22+
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
2723
#endif // __cplusplus >= 202002L
2824

2925
// type alias used for rank-based tag dispatch

0 commit comments

Comments
 (0)