3 #ifndef _libint2_include_libint2_cxxstd_h_ 4 #define _libint2_include_libint2_cxxstd_h_ 7 # error "Libint2 requires a C++ compiler" 10 #if __cplusplus >= 201402L 11 # define LIBINT2_CPLUSPLUS_STD 2014 12 #elif __cplusplus >= 201103L 13 # define LIBINT2_CPLUSPLUS_STD 2011 14 #elif __cplusplus >= 199711L 15 # define LIBINT2_CPLUSPLUS_STD 1998 17 # define LIBINT2_CPLUSPLUS_STD 0 // unknown standard 21 #if defined(__INTEL_COMPILER) && LIBINT2_CPLUSPLUS_STD==0 22 # ifdef __INTEL_CXX11_MODE__ 23 # undef LIBINT2_CPLUSPLUS_STD 24 # define LIBINT2_CPLUSPLUS_STD 2011