carb::cpp::remove_cvref

Defined in carb/cpp/TypeTraits.h

template<class T>
struct remove_cvref

If the type T is a reference type, provides the member typedef type which is the type referred to by T with its topmost cv-qualifiers removed. Otherwise type is T with its topmost cv-qualifiers removed.

Public Types

using type = std::remove_cv_t<std::remove_reference_t<T>>

The type T or referred to by T (in the case of a reference) with topmost cv-qualifiers removed.