forked from boostorg/move
Add remove_cvref
This commit is contained in:
1 parent
9a77e69bb5
commit
01d8832c9e
1 file changed
+9
@@ -409,6 +409,15 @@ template<typename T> struct remove_cv<const T> { typedef T type; };
|
||||
template<typename T> struct remove_cv<const volatile T> { typedef T type; };
|
||||
template<typename T> struct remove_cv<volatile T> { typedef T type; };
|
||||
|
||||
//////////////////////////
|
||||
// remove_cvref
|
||||
//////////////////////////
|
||||
template<class T>
|
||||
struct remove_cvref
|
||||
: remove_cv<typename remove_reference<T>::type>
|
||||
{
|
||||
};
|
||||
|
||||
//////////////////////////
|
||||
// make_unsigned
|
||||
//////////////////////////
|
||||
|
||||
Reference in new issue
Block a user