|
libhatchet
|
Go to the source code of this file.
Classes | |
| class | hxexpected< T, E_ > |
| class | hxkey_equal_t< hxexpected< T, E_ > > |
| class | hxkey_hash_t< hxexpected< T, E_ > > |
Functions | |
| template<typename T> | |
| hxexpected< T > | hxmake_expected (const T &value_) |
| template<typename T, typename E_, typename... args_t_> | |
| hxexpected< T, E_ > | hxmake_expected (args_t_ &&... args_) |
An expected value type.
Implements std::expected<T, E>.
| hxexpected< T, E_ > hxmake_expected | ( | args_t_ &&... | args_ | ) |
hxmake_expected<T, E> - Returns an non-null hxexpected<T, E> constructed in place by forwarding args to the constructor of T.
| hxexpected< T > hxmake_expected | ( | const T & | value_ | ) |
hxmake_expected<T> - Returns an non-null hxexpected<T> constructed by copying value.