Partial change to etl::expected result

This commit is contained in:
John Wellbelove 2022-10-25 15:45:52 +01:00
parent 743d4e32ca
commit 4e4a951f62

View File

@ -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 <typename TValue>
// using to_arithmetic_result = etl::expected<TValue, etl::unexpected<to_arithmetic_status>>;
//#else
// struct to_arithmetic_result
// {
// typedef etl::expected<TValue, etl::unexpected<etl::to_arithmetic_status> > type;
// };
//#endif
//***************************************************************************
/// Status values for to_arithmetic.
//***************************************************************************