tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
remove_cvref< T > Struct Template Reference

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. More...

#include <remove_cvref.hpp>

Public Types

using type = remove_cv_t<remove_reference_t<T>>
 

Detailed Description

template<typename T>
struct etl::remove_cvref< T >

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.

The behavior of a program that adds specializations for remove_cvref is undefined.

Member Typedef Documentation

◆ type

template<typename T>
using type = remove_cv_t<remove_reference_t<T>>

The documentation for this struct was generated from the following file: