mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Partial change to etl::expected result
This commit is contained in:
parent
743d4e32ca
commit
4e4a951f62
@ -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.
|
||||
//***************************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user