#include <system_error>
#include <type_traits>
Go to the source code of this file.
|
| namespace | std |
| | STL namespace.
|
◆ common_error
| Enumerator |
|---|
| kInvalidArgument | A function argument is invalid.
|
| kInvalidErrorCode | Default std::error_code given to expect<T>.
|
Definition at line 32 of file error.h.
33{
34
37};
@ kInvalidArgument
A function argument is invalid.
@ kInvalidErrorCode
Default std::error_code given to expect<T>.
◆ common_category()
| std::error_category const & common_category |
( |
| ) |
|
|
noexcept |
Definition at line 70 of file error.cpp.
71{
72 static const category instance{};
73 return instance;
74}
◆ make_error_code()
Definition at line 41 of file error.h.
42{
44}
const GenericPointer< typename T::ValueType > T2 value
std::error_category const & common_category() noexcept