mirror of
https://github.com/boostorg/move.git
synced 2025-08-01 21:34:27 +02:00
Add remove_cvref
This commit is contained in:
@@ -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<const volatile T> { typedef T type; };
|
||||||
template<typename T> struct remove_cv<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
|
// make_unsigned
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
|
Reference in New Issue
Block a user