![]() |
STX
1.0.0
|
Functions | |
template<typename Tp > | |
Tp && | unsafe_value_move (Option< Tp > &) |
STX_FORCE_INLINE void | expect_value_failed (std::string_view const &msg, SourceLocation const &location=SourceLocation::current()) noexcept |
panic helper for Option<T>::expect() when no value is present More... | |
STX_FORCE_INLINE void | expect_none_failed (std::string_view const &msg, SourceLocation const &location=SourceLocation::current()) noexcept |
panic helper for Option<T>::expect_none() when a value is present More... | |
STX_FORCE_INLINE void | no_value (SourceLocation const &location=SourceLocation::current()) noexcept |
panic helper for Option<T>::unwrap() when no value is present More... | |
STX_FORCE_INLINE void | no_lref (SourceLocation const &location=SourceLocation::current()) noexcept |
panic helper for Option<T>::value() when no value is present More... | |
STX_FORCE_INLINE void | no_none (SourceLocation const &location=SourceLocation::current()) noexcept |
panic helper for Option<T>::unwrap_none() when a value is present More... | |
|
noexcept |
panic helper for Option<T>::expect_none()
when a value is present
|
noexcept |
panic helper for Option<T>::expect()
when no value is present
|
noexcept |
panic helper for Option<T>::value()
when no value is present
|
noexcept |
panic helper for Option<T>::unwrap_none()
when a value is present
|
noexcept |
panic helper for Option<T>::unwrap()
when no value is present
|
inline |