@@ -242,22 +242,22 @@ SOFTWARE.
242
242
#endif
243
243
244
244
// *************************************
245
- // Indicate if C++ exceptions are enabled.
245
+ // Indicate if C++ exceptions within the ETL are enabled.
246
246
#if defined(ETL_THROW_EXCEPTIONS)
247
- #define ETL_USING_EXCEPTIONS 1
247
+ #define ETL_USING_EXCEPTIONS 1
248
248
#define ETL_NOT_USING_EXCEPTIONS 0
249
249
#else
250
- #define ETL_USING_EXCEPTIONS 0
250
+ #define ETL_USING_EXCEPTIONS 0
251
251
#define ETL_NOT_USING_EXCEPTIONS 1
252
252
#endif
253
253
254
254
// *************************************
255
255
// Indicate if C++ exceptions are enabled for debug asserts.
256
256
#if ETL_IS_DEBUG_BUILD && defined(ETL_DEBUG_THROW_EXCEPTIONS)
257
- #define ETL_DEBUG_USING_EXCEPTIONS 1
257
+ #define ETL_DEBUG_USING_EXCEPTIONS 1
258
258
#define ETL_DEBUG_NOT_USING_EXCEPTIONS 0
259
259
#else
260
- #define ETL_DEBUG_USING_EXCEPTIONS 0
260
+ #define ETL_DEBUG_USING_EXCEPTIONS 0
261
261
#define ETL_DEBUG_NOT_USING_EXCEPTIONS 1
262
262
#endif
263
263
@@ -342,8 +342,8 @@ SOFTWARE.
342
342
#define ETL_ENUM_CLASS_TYPE (name, type ) enum class name : type
343
343
#define ETL_LVALUE_REF_QUALIFIER &
344
344
#if ETL_USING_EXCEPTIONS
345
- #define ETL_NOEXCEPT noexcept
346
- #define ETL_NOEXCEPT_EXPR (...) noexcept (__VA_ARGS__)
345
+ #define ETL_NOEXCEPT noexcept
346
+ #define ETL_NOEXCEPT_EXPR (...) noexcept (__VA_ARGS__)
347
347
#else
348
348
#define ETL_NOEXCEPT
349
349
#define ETL_NOEXCEPT_EXPR (...)
0 commit comments