Blaze  3.6
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 >
96 //*************************************************************************************************
97 
98 } // namespace blaze
99 
100 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
typename AddPointer< T >::Type AddPointer_t
Auxiliary alias declaration for the AddPointer type trait.The AddPointer_t alias declaration provides...
Definition: AddPointer.h:95
Addition of a top level pointer.The AddPointer type trait adds a top level pointer to the given type ...
Definition: AddPointer.h:69