Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
util
mpl
Not.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_MPL_NOT_H_
36
#define _BLAZE_UTIL_MPL_NOT_H_
37
38
39
namespace
blaze {
40
41
//=================================================================================================
42
//
43
// CLASS DEFINITION
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
61
template
<
typename
C >
// Condition to be negated
62
struct
Not
63
{
64
public
:
65
//**********************************************************************************************
67
enum
{ value = !C::value };
69
//**********************************************************************************************
70
};
71
//*************************************************************************************************
72
73
}
// namespace blaze
74
75
#endif
blaze::Not
Compile time type negation.The Not class template negates the given compile time condition. In case the given condition would evaluate to true, the nested member enumeration is set to false and vice versa:
Definition:
Not.h:62
Generated on Fri Jun 20 2014 06:06:54 by
1.8.7