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

Applies lvalue-to-rvalue, array-to-pointer, and function-to-pointer implicit conversions to the type T, removes cv-qualifiers, and defines the resulting type as the member typedef type. More...

#include <decay.hpp>

Public Types

using type = conditional_t< is_array_v< U >, remove_extent_t< U > *, conditional_t< is_function_v< U >, add_pointer_t< U >, remove_cv_t< U > > >
 

Detailed Description

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

Applies lvalue-to-rvalue, array-to-pointer, and function-to-pointer implicit conversions to the type T, removes cv-qualifiers, and defines the resulting type as the member typedef type.

Member Typedef Documentation

◆ type


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