mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 22:59:47 +08:00
Added conditional support of noexcept to fix IAR support (#1195)
This commit is contained in:
parent
bcf7a95bb6
commit
15cbb12e4b
@ -341,8 +341,13 @@ SOFTWARE.
|
|||||||
#define ETL_ENUM_CLASS(name) enum class name
|
#define ETL_ENUM_CLASS(name) enum class name
|
||||||
#define ETL_ENUM_CLASS_TYPE(name, type) enum class name : type
|
#define ETL_ENUM_CLASS_TYPE(name, type) enum class name : type
|
||||||
#define ETL_LVALUE_REF_QUALIFIER &
|
#define ETL_LVALUE_REF_QUALIFIER &
|
||||||
#define ETL_NOEXCEPT noexcept
|
#if ETL_USING_EXCEPTIONS
|
||||||
#define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__)
|
#define ETL_NOEXCEPT noexcept
|
||||||
|
#define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__)
|
||||||
|
#else
|
||||||
|
#define ETL_NOEXCEPT
|
||||||
|
#define ETL_NOEXCEPT_EXPR(...)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define ETL_CONSTEXPR
|
#define ETL_CONSTEXPR
|
||||||
#define ETL_CONSTEXPR11
|
#define ETL_CONSTEXPR11
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user