dune-common  2.6-git
keywords.hh
Go to the documentation of this file.
1 #ifndef DUNE_COMMON_KEYWORDS_HH
2 #define DUNE_COMMON_KEYWORDS_HH
3 
16 #if __cpp_inline_variables >= 201606
17 #define DUNE_INLINE_VARIABLE inline
18 #else
19 
23 #define DUNE_INLINE_VARIABLE
24 #endif
25 
26 
27 #if __cpp_constexpr >= 201304
28 #define DUNE_GENERALIZED_CONSTEXPR constexpr
29 #else
30 
34 #define DUNE_GENERALIZED_CONSTEXPR
35 #endif
36 
37 
38 #endif // DUNE_COMMON_KEYWORDS_HH