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

Provides the member typedef type which is the same as T, except it has a cv-qualifier added (unless T is a function, a reference, or already has this cv-qualifier). Adds const. More...

#include <add_const.hpp>

Public Types

using type = T const
 

Related Symbols

(Note that these are not member symbols.)

template<typename T>
using add_const_t = typename add_const<T>::type
 

Detailed Description

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

Provides the member typedef type which is the same as T, except it has a cv-qualifier added (unless T is a function, a reference, or already has this cv-qualifier). Adds const.

Member Typedef Documentation

◆ type

template<typename T>
using type = T const

Friends And Related Symbol Documentation

◆ add_const_t

template<typename T>
template<typename T>
using add_const_t = typename add_const<T>::type
related

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