From f2c33a446646267176be1bacec039cbfaf9e2b13 Mon Sep 17 00:00:00 2001 From: mike919192 <91038685+mike919192@users.noreply.github.com> Date: Wed, 10 Sep 2025 05:52:22 -0400 Subject: [PATCH] Debug assert (#1175) * debug assert POC * Swith to ETL_CONSTEXPR14 * Finish TODO checks * First and last can be equal * Add ETL_DEBUG_THROW_EXCEPTIONS * Try allowing c++11 constexpr * Add macro for throwing from c++11 constexpr * Remove braces * Add extra asserts in size_t overload functions * Fill out debug asserts * Line up comments --- test/etl_profile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/etl_profile.h b/test/etl_profile.h index a7c680ff..42b6f500 100644 --- a/test/etl_profile.h +++ b/test/etl_profile.h @@ -31,6 +31,7 @@ SOFTWARE. #ifndef ETL_PROFILE_H_INCLUDED #define ETL_PROFILE_H_INCLUDED +#define ETL_DEBUG #define ETL_THROW_EXCEPTIONS #define ETL_DEBUG_THROW_EXCEPTIONS #define ETL_VERBOSE_ERRORS