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

Provides the member typedef type which is the same as T, except that its topmost cv-qualifiers are removed. Removes the topmost const, or the topmost volatile, or both, if present. More...

#include <remove_cv.hpp>

Public Types

using type = remove_const_t<remove_volatile_t<T>>
 

Detailed Description

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

Provides the member typedef type which is the same as T, except that its topmost cv-qualifiers are removed. Removes the topmost const, or the topmost volatile, or both, if present.

The behavior of a program that adds specializations for any of the templates described on this page is undefined.

Member Typedef Documentation

◆ type

template<typename T>
using type = remove_const_t<remove_volatile_t<T>>

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