Blaze
3.9
blaze
system
Standard.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_SYSTEM_STANDARD_H_
36
#define _BLAZE_SYSTEM_STANDARD_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/StaticAssert.h
>
44
45
46
47
48
//=================================================================================================
49
//
50
// C++ STANDARD MACRO DEFINITIONS
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
56
#if ( __cplusplus >= 201402L && __cplusplus < 201703L ) || ( _MSVC_LANG >= 201402L && _MSVC_LANG < 201703L )
57
# define BLAZE_CPP14_MODE 1
58
#else
59
# define BLAZE_CPP14_MODE 0
60
#endif
62
//*************************************************************************************************
63
64
65
//*************************************************************************************************
67
#if ( __cplusplus >= 201703L ) || ( _MSVC_LANG >= 201703L )
68
# define BLAZE_CPP17_MODE 1
69
#else
70
# define BLAZE_CPP17_MODE 0
71
#endif
73
//*************************************************************************************************
74
75
76
77
78
//=================================================================================================
79
//
80
// COMPILE TIME CONSTRAINTS
81
//
82
//=================================================================================================
83
84
//*************************************************************************************************
86
namespace
{
87
88
BLAZE_STATIC_ASSERT
( BLAZE_CPP14_MODE || BLAZE_CPP17_MODE );
89
BLAZE_STATIC_ASSERT
( !BLAZE_CPP14_MODE || !BLAZE_CPP17_MODE );
90
91
}
93
//*************************************************************************************************
94
95
#endif
StaticAssert.h
Compile time assertion.
BLAZE_STATIC_ASSERT
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.
Definition:
StaticAssert.h:112
Generated by
1.9.3