blaze::Decay< T > Struct Template Reference

Applies the type conversions for by-value function arguments.This type trait applies the type conversions that are used for by-value function arguments. This conversions include lvalue-to-rvalue, array-to-pointer, and function-to-pointer implicit conversions to the type T, and the removal of top level cv-qualifiers. More...

#include <Decay.h>

Detailed Description

template<typename T>
struct blaze::Decay< T >

Applies the type conversions for by-value function arguments.

This type trait applies the type conversions that are used for by-value function arguments. This conversions include lvalue-to-rvalue, array-to-pointer, and function-to-pointer implicit conversions to the type T, and the removal of top level cv-qualifiers.

blaze::Decay<int>::Type // Results in 'int'
blaze::Decay<int&>::Type // Results in 'int'
blaze::Decay<int&&>::Type // Results in 'int'
blaze::Decay<const int&>::Type // Results in 'int'
blaze::Decay<int[2]>::Type // Results in 'int*'
blaze::Decay<int(int)>::Type // Results in 'int(*)(int)'

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