General Purpose library for Freestanding C++ and POSIX systems
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

12 righe
240 B

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