blaze::AddReference< T > Struct Template Reference

Addition of a top level reference.In case the given type T is not a reference type, the AddReference type trait adds a top level reference to the given type T. Else the resulting type Type is T. More...

#include <AddReference.h>

Detailed Description

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

Addition of a top level reference.

In case the given type T is not a reference type, the AddReference type trait adds a top level reference to the given type T. Else the resulting type Type is T.

blaze::AddReference<int>::Type // Results in 'int&'
blaze::AddReference<int const&>::Type // Results in 'int const&'
blaze::AddReference<int*>::Type // Results in 'int*&'
blaze::AddReference<int*&>::Type // Results in 'int*&'

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