Blaze
3.9
blaze
util
typetraits
AddPointer.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_ADDPOINTER_H_
36
#define _BLAZE_UTIL_TYPETRAITS_ADDPOINTER_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <type_traits>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
68
template
<
typename
T >
69
struct
AddPointer
70
{
71
public
:
72
//**********************************************************************************************
74
using
Type =
typename
std::add_pointer<T>::type;
76
//**********************************************************************************************
77
};
78
//*************************************************************************************************
79
80
81
//*************************************************************************************************
94
template
<
typename
T >
95
using
AddPointer_t
=
typename
AddPointer<T>::Type
;
96
//*************************************************************************************************
97
98
}
// namespace blaze
99
100
#endif
blaze::AddPointer_t
typename AddPointer< T >::Type AddPointer_t
Auxiliary alias declaration for the AddPointer type trait.
Definition:
AddPointer.h:95
blaze::AddPointer
Addition of a top level pointer.
Definition:
AddPointer.h:70
Generated by
1.9.3