basedOpinionated utility library |
| git clone git://git.dimitrijedobrota.com/based.git |
| Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
cvref.hpp (349B)
0 #pragma once
2 #include "based/trait/remove/cv.hpp"
3 #include "based/trait/remove/reference.hpp"
5 namespace based
6 {
8 // clang-format off
10 template<class T> struct remove_cvref {
11 using type = remove_cv_t<remove_reference_t<T>>;
12 };
14 template<class T> using remove_cvref_t = typename remove_cvref<T>::type;
16 // clang-format on
18 } // namespace based