All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SizeT.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_SIZET_H_
36 #define _BLAZE_UTIL_MPL_SIZET_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/Types.h>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
70 template< size_t N >
71 struct SizeT
72 {
73  public:
74  //**********************************************************************************************
76  static const size_t value = N;
77  typedef size_t ValueType;
79  //**********************************************************************************************
80 };
81 //*************************************************************************************************
82 
83 } // namespace blaze
84 
85 #endif
Compile time integral constant wrapper for size_t.The SizeT class template represents an integral wra...
Definition: SizeT.h:71
Header file for basic type definitions.