![]() |
MySQL 26.7.0
Source Code Documentation
|
C++23 std::expected. More...
#include <ut0expected.h>
Public Types | |
| using | value_type = T |
| using | error_type = E |
Public Member Functions | |
| constexpr | Expected (Expected &&other) noexcept |
| template<typename U = std::remove_cv_t<T>> | |
| constexpr | explicit (!std::is_convertible_v< U, T >) Expected(U &&u) noexcept |
| template<class U > | |
| constexpr | Expected (Unexpected< U > &&u) |
| constexpr const T * | operator-> () const noexcept |
| constexpr T * | operator-> () noexcept |
| constexpr const T & | operator* () const &noexcept |
| constexpr T & | operator* () &noexcept |
| constexpr const T && | operator* () const &&noexcept |
| constexpr T && | operator* () &&noexcept |
| constexpr | operator bool () const noexcept |
| constexpr bool | has_value () const noexcept |
| constexpr const T & | value () const & |
| constexpr T & | value () & |
| constexpr const T && | value () const && |
| constexpr T && | value () && |
| constexpr const E & | error () const &noexcept |
| constexpr E & | error () &noexcept |
| constexpr const E && | error () const &&noexcept |
| constexpr E && | error () &&noexcept |
C++23 std::expected.
| using ut::Expected< T, E >::error_type = E |
| using ut::Expected< T, E >::value_type = T |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |