|
template<typename Tp , typename Er > |
Tp && | unsafe_value_move (Result< Tp, Er > &) |
|
template<typename Tp , typename Er > |
Er && | unsafe_err_move (Result< Tp, Er > &) |
|
template<typename T > |
STX_FORCE_INLINE void | expect_value_failed (std::string_view const &msg, T const &err, SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::expect() when no value is present More...
|
|
STX_FORCE_INLINE void | expect_err_failed (std::string_view const &msg, SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::expect_err() when a value is present More...
|
|
template<typename T > |
STX_FORCE_INLINE void | no_value (T const &err, SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::unwrap() when no value is present More...
|
|
template<typename T > |
STX_FORCE_INLINE void | no_lref (T const &err, SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::value() when no value is present More...
|
|
STX_FORCE_INLINE void | no_err (SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::unwrap_err() when a value is present More...
|
|
STX_FORCE_INLINE void | no_err_lref (SourceLocation const &location=SourceLocation::current()) noexcept |
| panic helper for Result<T, E>::err_value() when no value is present More...
|
|