General Purpose library for Freestanding C++ and POSIX systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
240 B

#pragma once
#include <type_traits>
namespace gp{
template< class T >
struct remove_cvref {
using type = std::remove_cv_t<std::remove_reference_t<T>>;
};
template< class T >
using remove_cvref_t = typename remove_cvref<T>::type;
}