#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__expected/unexpected.hpp>
|
constexpr | unexpected (const unexpected &)=default |
|
constexpr | unexpected (unexpected &&)=default |
|
template<typename Err = E, std::enable_if_t< conjunction< negation< std::is_same< remove_cvref_t< Err >, unexpected >>, negation< std::is_same< remove_cvref_t< Err >, in_place_t >>, std::is_constructible< E, Err > >::value, int > = 0> |
constexpr | unexpected (Err &&e) |
|
template<typename... Args, std::enable_if_t< std::is_constructible< E, Args... > ::value, int > = 0> |
constexpr | unexpected (in_place_t, Args &&... args) |
|
template<typename U , typename... Args, std::enable_if_t< std::is_constructible< E, std::initializer_list< U > &, Args... > ::value, int > = 0> |
constexpr | unexpected (in_place_t, std::initializer_list< U > il, Args &&... args) |
|
constexpr unexpected & | operator= (const unexpected &)=default |
|
constexpr unexpected & | operator= (unexpected &&)=default |
|
constexpr const E & | error () const &noexcept |
|
constexpr E & | error () &noexcept |
|
constexpr const E && | error () const &&noexcept |
|
constexpr E && | error () &&noexcept |
|
template<typename E2 = E, std::enable_if_t< is_swappable< E2 >::value, int > = 0> |
constexpr void | swap (unexpected &other) noexcept(is_nothrow_swappable< E >::value) |
|
|
template<typename E2 , std::enable_if_t< equality_comparable< E2 >::value, int > = 0> |
constexpr friend bool | operator== (unexpected &x, unexpected< E2 > &y) |
|
template<typename E2 , std::enable_if_t< equality_comparable< E2 >::value, int > = 0> |
constexpr friend bool | operator!= (unexpected &x, unexpected< E2 > &y) |
|
◆ unexpected() [1/5]
◆ unexpected() [2/5]
◆ unexpected() [3/5]
◆ unexpected() [4/5]
◆ unexpected() [5/5]
◆ error() [1/4]
constexpr E&& error |
( |
| ) |
&& |
|
inlineconstexprnoexcept |
◆ error() [2/4]
◆ error() [3/4]
constexpr const E&& error |
( |
| ) |
const && |
|
inlineconstexprnoexcept |
◆ error() [4/4]
constexpr const E& error |
( |
| ) |
const & |
|
inlineconstexprnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ swap()
◆ operator!=
◆ operator==
The documentation for this class was generated from the following file: