21 #ifndef _libint2_include_libint2_util_cxxstd_h_ 22 #define _libint2_include_libint2_util_cxxstd_h_ 25 # error "Libint2 requires a C++ compiler" 28 #if __cplusplus >= 201402L 29 # define LIBINT2_CPLUSPLUS_STD 2014 30 #elif __cplusplus >= 201103L 31 # define LIBINT2_CPLUSPLUS_STD 2011 32 #elif __cplusplus >= 199711L 33 # define LIBINT2_CPLUSPLUS_STD 1998 35 # define LIBINT2_CPLUSPLUS_STD 0 // unknown standard 39 #if defined(__INTEL_COMPILER) && LIBINT2_CPLUSPLUS_STD==0 40 # ifdef __INTEL_CXX11_MODE__ 41 # undef LIBINT2_CPLUSPLUS_STD 42 # define LIBINT2_CPLUSPLUS_STD 2011