Error propagation primitives: value-or-error.
Main docs: Home
Classes | |
class | pw::Result< T > |
Functions | |
template<typename T > | |
pw::Result (T value) -> Result< T > | |
Deduction guide to allow Result(v) rather than Result<T>(v) . | |
template<typename T > | |
constexpr bool | pw::operator== (const Result< T > &lhs, const Result< T > &rhs) |
Checks the equality of two Result<T> objects. | |
template<typename T > | |
constexpr bool | pw::operator!= (const Result< T > &lhs, const Result< T > &rhs) |
Checks the inequality of two Result<T> objects. | |