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.

10 lines
216 B

  1. #pragma once
  2. namespace gp{
  3. template< class T >
  4. struct remove_cvref {
  5. using type = std::remove_cv_t<std::remove_reference_t<T>>;
  6. };
  7. template< class T >
  8. using remove_cvref_t = typename remove_cvref<T>::type;
  9. }