Modified char8_t, char16_t and char32_t macros.

Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
This commit is contained in:
John Wellbelove 2022-04-21 10:42:06 +02:00
parent cd9d199dde
commit e44d1ad01d

View File

@ -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;
}
}