dune-common  2.4.1-rc2
constexpr.hh
Go to the documentation of this file.
1 #ifndef DUNE_COMMON_STD_CONSTEXPR_HH
2 #define DUNE_COMMON_STD_CONSTEXPR_HH
3 
9 #if HAVE_CONSTEXPR || defined(DOXYGEN)
10 
21 #define DUNE_CONSTEXPR constexpr
22 
23 #else // #if HAVE_CONSTEXPR
24 #define DUNE_CONSTEXPR
25 #endif // #else // #if HAVE_CONSTEXPR
26 
27 #endif // #ifndef DUNE_COMMON_STD_CONSTEXPR_HH