|
C++ Actor Framework 1.0.0
|
A lightweight wrapper around an error code enum. More...
#include <error_code.hpp>
Public Types | |
| using | enum_type = Enum |
| using | underlying_type = std::underlying_type_t<Enum> |
Public Member Functions | |
| constexpr | error_code (none_t) noexcept |
| constexpr | error_code (enum_type value) noexcept |
| constexpr | error_code (const error_code &) noexcept=default |
| constexpr error_code & | operator= (const error_code &) noexcept=default |
| error_code & | operator= (Enum value) noexcept |
| constexpr | operator bool () const noexcept |
| constexpr enum_type | value () const noexcept |
Friends | |
| constexpr underlying_type | to_integer (error_code x) noexcept |
A lightweight wrapper around an error code enum.