31#ifndef ETL_PLATFORM_INCLUDED
32#define ETL_PLATFORM_INCLUDED
37#if !defined(__STDC_LIMIT_MACROS)
38 #define __STDC_LIMIT_MACROS
44#if !defined(__STDC_CONSTANT_MACROS)
45 #define __STDC_CONSTANT_MACROS
56#if !defined(ETL_NO_PROFILE_HEADER) && defined(__has_include)
57 #if !__has_include("etl_profile.h")
58 #define ETL_NO_PROFILE_HEADER
62#if !defined(ETL_NO_PROFILE_HEADER)
63 #include "etl_profile.h"
67#define ETL_DO_NOTHING static_cast<void>(0)
70#define ETL_PLATFORM_16BIT (UINT16_MAX == UINTPTR_MAX)
71#define ETL_PLATFORM_32BIT (UINT32_MAX == UINTPTR_MAX)
72#define ETL_PLATFORM_64BIT (UINT64_MAX == UINTPTR_MAX)
76#if (defined(_DEBUG) || defined(DEBUG)) && !defined(ETL_DEBUG)
81 #define ETL_IS_DEBUG_BUILD 1
83 #define ETL_IS_DEBUG_BUILD 0
88#if defined(ETL_VERBOSE_ERRORS) && defined(ETL_MINIMAL_ERRORS)
89 #error "ETL_VERBOSE_ERRORS and ETL_MINIMAL_ERRORS are mutually exclusive"
97#if defined(ETL_NO_STL)
98 #define ETL_USING_STL 0
99 #define ETL_NOT_USING_STL 1
101 #define ETL_USING_STL 1
102 #define ETL_NOT_USING_STL 0
107#if defined(ETL_STLPORT)
108 #define ETL_USING_STLPORT 1
109 #define ETL_NOT_USING_STLPORT 0
111 #define ETL_USING_STLPORT 0
112 #define ETL_NOT_USING_STLPORT 1
118 #define ETL_USING_8BIT_TYPES 1
119 #define ETL_NOT_USING_8BIT_TYPES 0
121 #define ETL_USING_8BIT_TYPES 0
122 #define ETL_NOT_USING_8BIT_TYPES 1
125#define ETL_8BIT_SUPPORT (CHAR_BIT == 8)
129#if defined(ETL_USE_20BIT_TYPES)
130 #define ETL_USING_20BIT_TYPES 1
131 #define ETL_NOT_USING_20BIT_TYPES 0
133 #define ETL_USING_20BIT_TYPES 0
134 #define ETL_NOT_USING_20BIT_TYPES 1
139#if defined(ETL_NO_64BIT_TYPES)
140 #define ETL_USING_64BIT_TYPES 0
141 #define ETL_NOT_USING_64BIT_TYPES 1
143 #define ETL_USING_64BIT_TYPES 1
144 #define ETL_NOT_USING_64BIT_TYPES 0
149#if defined(ETL_NO_WIDE_CHARACTERS)
150 #define ETL_USING_WIDE_CHARACTERS 0
151 #define ETL_NOT_USING_WIDE_CHARACTERS 1
153 #define ETL_USING_WIDE_CHARACTERS 1
154 #define ETL_NOT_USING_WIDE_CHARACTERS 0
159#if defined(ETL_FORMAT_NO_FLOATING_POINT)
160 #define ETL_USING_FORMAT_FLOATING_POINT 0
161 #define ETL_NOT_USING_FORMAT_FLOATING_POINT 1
163 #define ETL_USING_FORMAT_FLOATING_POINT 1
164 #define ETL_NOT_USING_FORMAT_FLOATING_POINT 0
180#if !ETL_USING_CPP11 || defined(ETL_USE_LEGACY_VARIANT)
181 #define ETL_USING_LEGACY_VARIANT 1
182 #define ETL_NOT_USING_LEGACY_VARIANT 0
184 #define ETL_USING_LEGACY_VARIANT 0
185 #define ETL_NOT_USING_LEGACY_VARIANT 1
190#if !defined(WCHAR_MIN)
191 #define WCHAR_MIN 0x0000
194#if !defined(WCHAR_MAX)
195 #define WCHAR_MAX 0xFFFF
200#if defined(ETL_FORCE_EXPLICIT_STRING_CONVERSION_FROM_CHAR)
201 #define ETL_EXPLICIT_STRING_FROM_CHAR explicit
203 #define ETL_EXPLICIT_STRING_FROM_CHAR
208#if defined(ETL_DISABLE_STRING_TRUNCATION_CHECKS)
209 #define ETL_HAS_STRING_TRUNCATION_CHECKS 0
211 #define ETL_HAS_STRING_TRUNCATION_CHECKS 1
216#if defined(ETL_DISABLE_STRING_CLEAR_AFTER_USE)
217 #define ETL_HAS_STRING_CLEAR_AFTER_USE 0
219 #define ETL_HAS_STRING_CLEAR_AFTER_USE 1
224#if defined(ETL_ENABLE_ERROR_ON_STRING_TRUNCATION)
225 #define ETL_HAS_ERROR_ON_STRING_TRUNCATION 1
227 #define ETL_HAS_ERROR_ON_STRING_TRUNCATION 0
232#if defined(ETL_ISTRING_REPAIR_ENABLE)
233 #define ETL_HAS_ISTRING_REPAIR 1
235 #define ETL_HAS_ISTRING_REPAIR 0
240#if defined(ETL_IVECTOR_REPAIR_ENABLE)
241 #define ETL_HAS_IVECTOR_REPAIR 1
243 #define ETL_HAS_IVECTOR_REPAIR 0
248#if defined(ETL_IDEQUE_REPAIR_ENABLE)
249 #define ETL_HAS_IDEQUE_REPAIR 1
251 #define ETL_HAS_IDEQUE_REPAIR 0
256#if defined(ETL_ICIRCULAR_BUFFER_REPAIR_ENABLE)
257 #define ETL_HAS_ICIRCULAR_BUFFER_REPAIR 1
259 #define ETL_HAS_ICIRCULAR_BUFFER_REPAIR 0
264#if defined(ETL_THROW_EXCEPTIONS)
265 #define ETL_USING_EXCEPTIONS 1
266 #define ETL_NOT_USING_EXCEPTIONS 0
268 #define ETL_USING_EXCEPTIONS 0
269 #define ETL_NOT_USING_EXCEPTIONS 1
274#if ETL_IS_DEBUG_BUILD && defined(ETL_DEBUG_THROW_EXCEPTIONS)
275 #define ETL_DEBUG_USING_EXCEPTIONS 1
276 #define ETL_DEBUG_NOT_USING_EXCEPTIONS 0
278 #define ETL_DEBUG_USING_EXCEPTIONS 0
279 #define ETL_DEBUG_NOT_USING_EXCEPTIONS 1
284#if ETL_NO_NULLPTR_SUPPORT
285 #define ETL_HAS_NULLPTR 0
287 #define ETL_HAS_NULLPTR 1
292#if defined(ETL_USE_LEGACY_BITSET)
293 #define ETL_USING_LEGACY_BITSET 1
295 #define ETL_USING_LEGACY_BITSET 0
300#if defined(ETL_ARRAY_VIEW_IS_MUTABLE)
301 #define ETL_HAS_MUTABLE_ARRAY_VIEW 1
303 #define ETL_HAS_MUTABLE_ARRAY_VIEW 0
308#if defined(ETL_MESSAGES_ARE_NOT_VIRTUAL)
309 #define ETL_HAS_VIRTUAL_MESSAGES 0
311 #define ETL_HAS_VIRTUAL_MESSAGES 1
316#if defined(ETL_USE_STD_EXCEPTION)
317 #if ETL_NOT_USING_STL
318 #error "Requested std base for etl::exception, but STL is not used"
320 #define ETL_USING_STD_EXCEPTION 1
322 #define ETL_USING_STD_EXCEPTION 0
327#if defined(ETL_USE_VERBOSE_CHRONO_LITERALS) && ETL_USING_CPP11
328 #define ETL_USING_VERBOSE_CHRONO_LITERALS 1
330 #define ETL_USING_VERBOSE_CHRONO_LITERALS 0
335#if defined(ETL_DISABLE_CHRONO_LITERALS_DAY) && ETL_USING_CPP11
336 #define ETL_HAS_CHRONO_LITERALS_DAY 0
338 #define ETL_HAS_CHRONO_LITERALS_DAY 1
343#if defined(ETL_DISABLE_CHRONO_LITERALS_YEAR) && ETL_USING_CPP11
344 #define ETL_HAS_CHRONO_LITERALS_YEAR 0
346 #define ETL_HAS_CHRONO_LITERALS_YEAR 1
352#if defined(ETL_DISABLE_CHRONO_LITERALS_DURATION) && ETL_USING_CPP11
353 #define ETL_HAS_CHRONO_LITERALS_DURATION 0
355 #define ETL_HAS_CHRONO_LITERALS_DURATION 1
360#if !defined(ETL_HAS_NOEXCEPT_FUNCTION_TYPE)
361 #if defined(__cpp_noexcept_function_type) && (__cpp_noexcept_function_type >= 201510)
362 #define ETL_HAS_NOEXCEPT_FUNCTION_TYPE 1
364 #define ETL_HAS_NOEXCEPT_FUNCTION_TYPE 0
372 #define ETL_CONSTEXPR constexpr
373 #define ETL_CONSTEXPR11 constexpr
374 #define ETL_CONSTANT constexpr
375 #define ETL_DELETE = delete
376 #define ETL_EXPLICIT explicit
377 #define ETL_OVERRIDE override
378 #define ETL_FINAL final
379 #define ETL_NORETURN [[noreturn]]
380 #define ETL_MOVE(x) etl::move(x)
381 #define ETL_ENUM_CLASS(name) enum class name
382 #define ETL_ENUM_CLASS_TYPE(name, type) enum class name : type
383 #define ETL_LVALUE_REF_QUALIFIER &
384 #define ETL_RVALUE_REF_QUALIFIER &&
385 #if ETL_USING_EXCEPTIONS
386 #define ETL_NOEXCEPT noexcept
387 #define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__)
388 #define ETL_NOEXCEPT_IF(b) noexcept((b))
389 #define ETL_NOEXCEPT_FROM(x) noexcept(noexcept(x))
392 #define ETL_NOEXCEPT_EXPR(...)
393 #define ETL_NOEXCEPT_IF(b)
394 #define ETL_NOEXCEPT_FROM(x)
397 #define ETL_CONSTEXPR
398 #define ETL_CONSTEXPR11
399 #define ETL_CONSTANT const
406 #define ETL_NOEXCEPT_EXPR(...)
407 #define ETL_NOEXCEPT_IF(b)
408 #define ETL_NOEXCEPT_FROM(x)
409 #define ETL_MOVE(x) x
410 #define ETL_ENUM_CLASS(name) enum name
411 #define ETL_ENUM_CLASS_TYPE(name, type) enum name
412 #define ETL_LVALUE_REF_QUALIFIER
413 #define ETL_RVALUE_REF_QUALIFIER
419 #define ETL_CONSTEXPR14 constexpr
421 #if !defined(ETL_IN_UNIT_TEST)
422 #define ETL_DEPRECATED [[deprecated]]
423 #define ETL_DEPRECATED_REASON(reason) [[deprecated(reason)]]
425 #define ETL_DEPRECATED
426 #define ETL_DEPRECATED_REASON(reason)
429 #define ETL_CONSTEXPR14
430 #define ETL_DEPRECATED
431 #define ETL_DEPRECATED_REASON(reason)
437 #define ETL_CONSTEXPR17 constexpr
438 #define ETL_IF_CONSTEXPR constexpr
439 #define ETL_NODISCARD [[nodiscard]]
440 #define ETL_MAYBE_UNUSED [[maybe_unused]]
441 #define ETL_FALLTHROUGH [[fallthrough]]
442 #define ETL_INLINE_VAR inline
444 #define ETL_CONSTEXPR17
445 #define ETL_IF_CONSTEXPR
446 #define ETL_NODISCARD
447 #define ETL_MAYBE_UNUSED
448 #define ETL_FALLTHROUGH
449 #define ETL_INLINE_VAR
455 #define ETL_LIKELY [[likely]]
456 #define ETL_UNLIKELY [[unlikely]]
457 #define ETL_CONSTEXPR20 constexpr
458 #define ETL_CONSTEVAL consteval
459 #define ETL_CONSTINIT constinit
460 #define ETL_NO_UNIQUE_ADDRESS [[no_unique_address]]
461 #define ETL_EXPLICIT_EXPR(...) explicit(__VA_ARGS__)
465 #define ETL_CONSTEXPR20
466 #define ETL_CONSTEVAL
467 #if ETL_USING_CLANG_COMPILER && ETL_COMPILER_FULL_VERSION >= 40000
468 #define ETL_CONSTINIT __attribute__((require_constant_initialization))
469 #elif ETL_USING_GCC_COMPILER && ETL_COMPILER_FULL_VERSION >= 100000
470 #define ETL_CONSTINIT __constinit
472 #define ETL_CONSTINIT
474 #define ETL_NO_UNIQUE_ADDRESS
475 #define ETL_EXPLICIT_EXPR(...) explicit
478#if ETL_USING_CPP20 && ETL_USING_STL
479 #define ETL_CONSTEXPR20_STL constexpr
481 #define ETL_CONSTEXPR20_STL
487 #define ETL_ASSUME(expression) [[assume(expression)]]
489 #define ETL_ASSUME ETL_DO_NOTHING
494#if ETL_NO_SMALL_CHAR_SUPPORT
496typedef uint_least8_t char8_t;
497 #define ETL_HAS_CHAR8_T 1
498 #define ETL_HAS_NATIVE_CHAR8_T 0
501 #define ETL_HAS_CHAR8_T 1
502 #define ETL_HAS_NATIVE_CHAR8_T 1
507#if ETL_NO_LARGE_CHAR_SUPPORT
508typedef uint_least16_t char16_t;
509typedef uint_least32_t char32_t;
510 #define ETL_HAS_NATIVE_CHAR16_T 0
511 #define ETL_HAS_NATIVE_CHAR32_T 0
513 #define ETL_HAS_NATIVE_CHAR16_T 1
514 #define ETL_HAS_NATIVE_CHAR32_T 1
519#if !defined(ETL_HAS_STD_ARRAY)
520 #if ETL_USING_STL && ETL_USING_CPP11
521 #define ETL_HAS_STD_ARRAY 1
523 #define ETL_HAS_STD_ARRAY 0
529#if !defined(ETL_NO_LIBC_WCHAR_H)
530 #if defined(__has_include)
531 #if !__has_include(<wchar.h>)
532 #define ETL_NO_LIBC_WCHAR_H
537#if defined(ETL_NO_LIBC_WCHAR_H)
538 #define ETL_USING_LIBC_WCHAR_H 0
539 #define ETL_NOT_USING_LIBC_WCHAR_H 1
541 #define ETL_USING_LIBC_WCHAR_H 1
542 #define ETL_NOT_USING_LIBC_WCHAR_H 0
547#if !defined(ETL_NO_STD_OSTREAM) && ETL_USING_STL
548 #if defined(__has_include)
549 #if !__has_include(<ostream>)
550 #define ETL_NO_STD_OSTREAM
555#if defined(ETL_NO_STD_OSTREAM) || (ETL_NOT_USING_STL && !defined(ETL_IN_UNIT_TEST))
556 #define ETL_USING_STD_OSTREAM 0
557 #define ETL_NOT_USING_STD_OSTREAM 1
559 #define ETL_USING_STD_OSTREAM 1
560 #define ETL_NOT_USING_STD_OSTREAM 0
565#if defined(ETL_NO_ATOMICS) || defined(ETL_TARGET_DEVICE_ARM_CORTEX_M0) || defined(ETL_TARGET_DEVICE_ARM_CORTEX_M0_PLUS) \
566 || defined(__STDC_NO_ATOMICS__)
567 #define ETL_HAS_ATOMIC 0
568 #define ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE 0
570 #if ((ETL_USING_CPP11 && (ETL_USING_STL || defined(ETL_IN_UNIT_TEST))) || defined(ETL_COMPILER_ARM5) || defined(ETL_COMPILER_ARM6) \
571 || defined(ETL_COMPILER_GCC) || defined(ETL_COMPILER_CLANG))
572 #define ETL_HAS_ATOMIC 1
574 #define ETL_HAS_ATOMIC 0
576 #if ((ETL_USING_CPP17 && (ETL_USING_STL || defined(ETL_IN_UNIT_TEST))) || defined(ETL_COMPILER_ARM5) || defined(ETL_COMPILER_ARM6) \
577 || defined(ETL_COMPILER_GCC) || defined(ETL_COMPILER_CLANG))
578 #define ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE 1
580 #define ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE 0
586#if (defined(ETL_FORCE_ETL_INITIALIZER_LIST) && defined(ETL_FORCE_STD_INITIALIZER_LIST))
587 #error ETL_FORCE_ETL_INITIALIZER_LIST and ETL_FORCE_STD_INITIALIZER_LIST both been defined. Choose one or neither.
590#if (ETL_USING_CPP11 && !defined(ETL_NO_INITIALIZER_LIST))
592 #if (ETL_USING_STL && ETL_NOT_USING_STLPORT && !defined(ETL_FORCE_ETL_INITIALIZER_LIST)) || defined(ETL_IN_UNIT_TEST) \
593 || defined(ETL_FORCE_STD_INITIALIZER_LIST)
594 #define ETL_HAS_INITIALIZER_LIST 1
597 #if defined(ETL_COMPILER_MICROSOFT) || defined(ETL_COMPILER_GCC) || defined(ETL_COMPILER_CLANG) || defined(ETL_COMPILER_ARM6) \
598 || defined(ETL_COMPILER_ARM7) || defined(ETL_COMPILER_IAR) || defined(ETL_COMPILER_TEXAS_INSTRUMENTS) || defined(ETL_COMPILER_INTEL)
599 #define ETL_HAS_INITIALIZER_LIST 1
601 #define ETL_HAS_INITIALIZER_LIST 0
605 #define ETL_HAS_INITIALIZER_LIST 0
610#if defined(ETL_COMPILER_CLANG) || defined(ETL_COMPILER_GCC) || defined(ETL_COMPILER_INTEL) || defined(ETL_COMPILER_ARM6)
611 #define ETL_PACKED_CLASS(class_type) class __attribute__((packed)) class_type
612 #define ETL_PACKED_STRUCT(struct_type) struct __attribute__((packed)) struct_type
613 #define ETL_END_PACKED
614 #define ETL_HAS_PACKED 1
615#elif defined(ETL_COMPILER_MICROSOFT)
616 #define ETL_PACKED_CLASS(class_type) __pragma(pack(push, 1)) class class_type
617 #define ETL_PACKED_STRUCT(struct_type) __pragma(pack(push, 1)) struct struct_type
619 #define ETL_END_PACKED __pragma(pack(pop))
620 #define ETL_HAS_PACKED 1
622 #define ETL_PACKED_CLASS(class_type) class class_type
623 #define ETL_PACKED_STRUCT(struct_type) struct struct_type
624 #define ETL_END_PACKED
625 #define ETL_HAS_PACKED 0
642 static ETL_CONSTANT
long cplusplus = __cplusplus;
643 static ETL_CONSTANT
int language_standard = ETL_LANGUAGE_STANDARD;
646 static ETL_CONSTANT
bool using_stl = (ETL_USING_STL == 1);
647 static ETL_CONSTANT
bool using_stlport = (ETL_USING_STLPORT == 1);
648 static ETL_CONSTANT
bool using_cpp11 = (ETL_USING_CPP11 == 1);
649 static ETL_CONSTANT
bool using_cpp14 = (ETL_USING_CPP14 == 1);
650 static ETL_CONSTANT
bool using_cpp17 = (ETL_USING_CPP17 == 1);
651 static ETL_CONSTANT
bool using_cpp20 = (ETL_USING_CPP20 == 1);
652 static ETL_CONSTANT
bool using_cpp23 = (ETL_USING_CPP23 == 1);
653 static ETL_CONSTANT
bool using_gcc_compiler = (ETL_USING_GCC_COMPILER == 1);
654 static ETL_CONSTANT
bool using_microsoft_compiler = (ETL_USING_MICROSOFT_COMPILER == 1);
655 static ETL_CONSTANT
bool using_arm5_compiler = (ETL_USING_ARM5_COMPILER == 1);
656 static ETL_CONSTANT
bool using_arm6_compiler = (ETL_USING_ARM6_COMPILER == 1);
657 static ETL_CONSTANT
bool using_arm7_compiler = (ETL_USING_ARM7_COMPILER == 1);
658 static ETL_CONSTANT
bool using_clang_compiler = (ETL_USING_CLANG_COMPILER == 1);
659 static ETL_CONSTANT
bool using_green_hills_compiler = (ETL_USING_GREEN_HILLS_COMPILER == 1);
660 static ETL_CONSTANT
bool using_iar_compiler = (ETL_USING_IAR_COMPILER == 1);
661 static ETL_CONSTANT
bool using_intel_compiler = (ETL_USING_INTEL_COMPILER == 1);
662 static ETL_CONSTANT
bool using_texas_instruments_compiler = (ETL_USING_TEXAS_INSTRUMENTS_COMPILER == 1);
663 static ETL_CONSTANT
bool using_generic_compiler = (ETL_USING_GENERIC_COMPILER == 1);
664 static ETL_CONSTANT
bool using_legacy_bitset = (ETL_USING_LEGACY_BITSET == 1);
665 static ETL_CONSTANT
bool using_exceptions = (ETL_USING_EXCEPTIONS == 1);
666 static ETL_CONSTANT
bool using_libc_wchar_h = (ETL_USING_LIBC_WCHAR_H == 1);
667 static ETL_CONSTANT
bool using_std_exception = (ETL_USING_STD_EXCEPTION == 1);
668 static ETL_CONSTANT
bool using_format_floating_point = (ETL_USING_FORMAT_FLOATING_POINT == 1);
671 static ETL_CONSTANT
bool has_initializer_list = (ETL_HAS_INITIALIZER_LIST == 1);
672 static ETL_CONSTANT
bool has_8bit_types = (ETL_USING_8BIT_TYPES == 1);
673 static ETL_CONSTANT
bool has_64bit_types = (ETL_USING_64BIT_TYPES == 1);
674 static ETL_CONSTANT
bool has_atomic = (ETL_HAS_ATOMIC == 1);
675 static ETL_CONSTANT
bool has_atomic_always_lock_free = (ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE == 1);
676 static ETL_CONSTANT
bool has_nullptr = (ETL_HAS_NULLPTR == 1);
677 static ETL_CONSTANT
bool has_char8_t = (ETL_HAS_CHAR8_T == 1);
678 static ETL_CONSTANT
bool has_native_char8_t = (ETL_HAS_NATIVE_CHAR8_T == 1);
679 static ETL_CONSTANT
bool has_native_char16_t = (ETL_HAS_NATIVE_CHAR16_T == 1);
680 static ETL_CONSTANT
bool has_native_char32_t = (ETL_HAS_NATIVE_CHAR32_T == 1);
681 static ETL_CONSTANT
bool has_string_truncation_checks = (ETL_HAS_STRING_TRUNCATION_CHECKS == 1);
682 static ETL_CONSTANT
bool has_error_on_string_truncation = (ETL_HAS_ERROR_ON_STRING_TRUNCATION == 1);
683 static ETL_CONSTANT
bool has_string_clear_after_use = (ETL_HAS_STRING_CLEAR_AFTER_USE == 1);
684 static ETL_CONSTANT
bool has_istring_repair = (ETL_HAS_ISTRING_REPAIR == 1);
685 static ETL_CONSTANT
bool has_ivector_repair = (ETL_HAS_IVECTOR_REPAIR == 1);
686 static ETL_CONSTANT
bool has_icircular_buffer_repair = (ETL_HAS_ICIRCULAR_BUFFER_REPAIR == 1);
687 static ETL_CONSTANT
bool has_mutable_array_view = (ETL_HAS_MUTABLE_ARRAY_VIEW == 1);
688 static ETL_CONSTANT
bool has_ideque_repair = (ETL_HAS_IDEQUE_REPAIR == 1);
689 static ETL_CONSTANT
bool has_virtual_messages = (ETL_HAS_VIRTUAL_MESSAGES == 1);
690 static ETL_CONSTANT
bool has_packed = (ETL_HAS_PACKED == 1);
691 static ETL_CONSTANT
bool has_chrono_literals_day = (ETL_HAS_CHRONO_LITERALS_DAY == 1);
692 static ETL_CONSTANT
bool has_chrono_literals_year = (ETL_HAS_CHRONO_LITERALS_YEAR == 1);
693 static ETL_CONSTANT
bool has_chrono_literals_hours = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
694 static ETL_CONSTANT
bool has_chrono_literals_minutes = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
695 static ETL_CONSTANT
bool has_chrono_literals_seconds = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
696 static ETL_CONSTANT
bool has_chrono_literals_milliseconds = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
697 static ETL_CONSTANT
bool has_chrono_literals_microseconds = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
698 static ETL_CONSTANT
bool has_chrono_literals_nanoseconds = (ETL_HAS_CHRONO_LITERALS_DURATION == 1);
699 static ETL_CONSTANT
bool has_std_byteswap = (ETL_HAS_STD_BYTESWAP == 1);
700 static ETL_CONSTANT
bool has_noexcept_function_type = (ETL_HAS_NOEXCEPT_FUNCTION_TYPE == 1);
703 static ETL_CONSTANT
bool is_debug_build = (ETL_IS_DEBUG_BUILD == 1);
bitset_ext
Definition absolute.h:40