Embedded Template Library 1.0
|
#include <expected.h>
Public Types | |
typedef TError | error_type |
Public Member Functions | |
ETL_CONSTEXPR | unexpected (const unexpected &other) |
Copy constructor. | |
ETL_CONSTEXPR | unexpected (const TError &e) |
Construct from an lvalue. | |
ETL_CONSTEXPR14 etl::unexpected< TError > & | operator= (const etl::unexpected< TError > &rhs) |
Assign from etl::unexpected. | |
const TError & | error () const |
Get the error. | |
void | swap (etl::unexpected< TError > &other) |
Swap with another etl::unexpected. | |
Unexpected type. etl::unexpected represents an unexpected value stored in etl::expected.