diff --git a/include/etl/platform.h b/include/etl/platform.h index d011b9bc..9c2ab983 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -396,6 +396,8 @@ namespace etl static ETL_CONSTANT bool using_cpp17 = (ETL_USING_CPP17 == 1); static ETL_CONSTANT bool using_cpp20 = (ETL_USING_CPP20 == 1); static ETL_CONSTANT bool using_cpp23 = (ETL_USING_CPP23 == 1); + static ETL_CONSTANT long cplusplus = __cplusplus; + static ETL_CONSTANT int language_standard = ETL_LANGUAGE_STANDARD; static ETL_CONSTANT bool using_exceptions = (ETL_USING_EXCEPTIONS == 1); static ETL_CONSTANT bool using_gcc_compiler = (ETL_USING_GCC_COMPILER == 1); static ETL_CONSTANT bool using_microsoft_compiler = (ETL_USING_MICROSOFT_COMPILER == 1); @@ -425,8 +427,6 @@ namespace etl static ETL_CONSTANT bool has_mutable_array_view = (ETL_HAS_MUTABLE_ARRAY_VIEW == 1); static ETL_CONSTANT bool has_ideque_repair = (ETL_HAS_IDEQUE_REPAIR == 1); static ETL_CONSTANT bool is_debug_build = (ETL_IS_DEBUG_BUILD == 1); - static ETL_CONSTANT long cplusplus = __cplusplus; - static ETL_CONSTANT int language_standard = ETL_LANGUAGE_STANDARD; } }