Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::decay< Type > Class Template Reference

Contains type, a conversion equivalent to those performed when passing function arguments by value. More...

Public Types

using type
 The converted type For arrays: A reference-erased element pointer type For functions: A reference-erased pointer type Otherwise: A reference and cv-erased type.
 

Detailed Description

template<typename Type>
class std::decay< Type >

Contains type, a conversion equivalent to those performed when passing function arguments by value.

Template Parameters
TypeThe type to decay

Member Typedef Documentation

◆ type

template<typename Type>
using std::decay< Type >::type
Initial value:
typename remove_cv< T >::type remove_cv_t
An alias for T, but with top-level const and/or volatile qualifiers removed.
Definition remove_cv.hpp:64
constexpr bool is_array_v
A type trait to check if a type is an array. The value is true if Type is an array,...
typename conditional< Condition, TrueType, FalseType >::type conditional_t
Helper template alias for selecting types based on a condition. If the supplied Condition is true the...
Definition conditional.hpp:57
constexpr bool is_function_v
A type trait to check if a type is a function. The value is true if Type is a function,...
typename add_pointer< Type >::type add_pointer_t
Adds a pointer to the given type.
Definition add_pointer.hpp:62

The converted type For arrays: A reference-erased element pointer type For functions: A reference-erased pointer type Otherwise: A reference and cv-erased type.


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