tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
add_volatile< 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 volatile. More...

#include <etl/type_traits.hpp>

Public Types

using type = T volatile
 

Related Symbols

(Note that these are not member symbols.)

template<typename T>
using add_volatile_t = typename add_volatile<T>::type
 

Detailed Description

template<typename T>
struct etl::add_volatile< 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 volatile.

Member Typedef Documentation

◆ type

template<typename T>
using type = T volatile

Friends And Related Symbol Documentation

◆ add_volatile_t

template<typename T>
template<typename T>
using add_volatile_t = typename add_volatile<T>::type
related

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