Size.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_SIZE_H_
36 #define _BLAZE_MATH_TYPETRAITS_SIZE_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
73 template< typename T >
74 struct Size
75  : public PtrdiffT<-1L>
76 {};
77 //*************************************************************************************************
78 
79 
80 //*************************************************************************************************
85 template< typename T >
86 struct Size< const T >
87  : public Size<T>
88 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct Size< volatile T >
100  : public Size<T>
101 {};
103 //*************************************************************************************************
104 
105 
106 //*************************************************************************************************
111 template< typename T >
112 struct Size< const volatile T >
113  : public Size<T>
114 {};
116 //*************************************************************************************************
117 
118 } // namespace blaze
119 
120 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the PtrdiffT class template.
Compile time integral constant wrapper for ptrdiff_t.The PtrdiffT class template represents an integr...
Definition: PtrdiffT.h:72
Compile time evaluation of the size of a vector.The Size type trait evaluates the size of the given v...
Definition: Size.h:74