From 4e4a951f624d9eefb8eea7ba06cd63a944bbd26d Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 25 Oct 2022 15:45:52 +0100 Subject: [PATCH] Partial change to etl::expected result --- include/etl/to_arithmetic.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/etl/to_arithmetic.h b/include/etl/to_arithmetic.h index 3ab2a60d..099fe2af 100644 --- a/include/etl/to_arithmetic.h +++ b/include/etl/to_arithmetic.h @@ -43,6 +43,7 @@ SOFTWARE. #include "bit.h" #include "smallest.h" #include "absolute.h" +//#include "expected.h" namespace etl { @@ -73,6 +74,16 @@ namespace etl ETL_END_ENUM_TYPE }; +//#if ETL_CPP11_SUPPORTED +// template +// using to_arithmetic_result = etl::expected>; +//#else +// struct to_arithmetic_result +// { +// typedef etl::expected > type; +// }; +//#endif + //*************************************************************************** /// Status values for to_arithmetic. //***************************************************************************