Bool.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_BOOL_H_
36 #define _BLAZE_UTIL_MPL_BOOL_H_
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // CLASS DEFINITION
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
62 template< bool C >
63 struct Bool
64 {
65  public:
66  //**********************************************************************************************
68  static const bool value = C;
69  typedef bool ValueType;
71  //**********************************************************************************************
72 };
73 //*************************************************************************************************
74 
75 } // namespace blaze
76 
77 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time integral constant wrapper for bool.The Bool class template represents an integral wrappe...
Definition: Bool.h:63