Embedded Template Library  1.0
platform.h File Reference
#include <stdint.h>
#include <limits.h>
#include "etl_profile.h"
#include "profiles/determine_compiler_version.h"
#include "profiles/determine_compiler_language_support.h"
#include "profiles/determine_development_os.h"
#include "private/choose_namespace.h"

Go to the source code of this file.

Macros

#define ETL_PLATFORM_16BIT   (UINT16_MAX == UINTPTR_MAX)
 
#define ETL_PLATFORM_32BIT   (UINT32_MAX == UINTPTR_MAX)
 
#define ETL_PLATFORM_64BIT   (UINT64_MAX == UINTPTR_MAX)
 
#define ETL_USING_STL   1
 
#define ETL_NOT_USING_STL   0
 
#define ETL_USING_STLPORT   0
 
#define ETL_NOT_USING_STLPORT   1
 
#define ETL_USING_8BIT_TYPES   0
 
#define ETL_NOT_USING_8BIT_TYPES   1
 
#define ETL_8BIT_SUPPORT   (CHAR_BIT == 8)
 
#define ETL_USING_64BIT_TYPES   1
 
#define ETL_NOT_USING_64BIT_TYPES   0
 
#define ETL_USING_STD_NEW   1
 
#define ETL_EXPLICIT_STRING_FROM_CHAR
 
#define ETL_STRING_TRUNCATION_CHECKS_ENABLED   1
 
#define ETL_STRING_CLEAR_AFTER_USE_ENABLED   1
 
#define ETL_CONSTEXPR
 
#define ETL_CONSTANT   const
 
#define ETL_DELETE
 
#define ETL_EXPLICIT
 
#define ETL_OVERRIDE
 
#define ETL_FINAL
 
#define ETL_NORETURN
 
#define ETL_NOEXCEPT
 
#define ETL_NOEXCEPT_EXPR(expression)
 
#define ETL_CONSTEXPR14
 
#define ETL_DEPRECATED
 
#define ETL_DEPRECATED_REASON(reason)
 
#define ETL_CONSTEXPR17
 
#define ETL_IF_CONSTEXPR
 
#define ETL_NODISCARD
 
#define ETL_FALLTHROUGH
 
#define ETL_INLINE_VAR
 
#define ETL_LIKELY
 
#define ETL_UNLIKELY
 
#define ETL_CONSTEXPR20
 
#define ETL_CONSTEVAL
 
#define ETL_CONSTINIT