From a8dd54243cb9ee488aa2ccd20828dd5dd7876d24 Mon Sep 17 00:00:00 2001 From: Kalon Mills Date: Mon, 15 Dec 2025 17:01:53 -0800 Subject: [PATCH] Add include. Clang with libc++ and -std=c++23 fails to compile with: error: no member named 'terminate' in namespace 'std'; did you mean 'template'? This change ensures the definition of std::terminate() is available for this scenario. --- include/boost/safe_numerics/checked_result_operations.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/safe_numerics/checked_result_operations.hpp b/include/boost/safe_numerics/checked_result_operations.hpp index f5b8f9a..4a23370 100644 --- a/include/boost/safe_numerics/checked_result_operations.hpp +++ b/include/boost/safe_numerics/checked_result_operations.hpp @@ -20,6 +20,7 @@ // integer type is an "extended" integer. #include +#include // std::terminate() #include