![]() |
MySQL 8.1.0
Source Code Documentation
|
specialized storage for <void, E>. More...
#include <expected.h>
Public Types | |
using | value_type = void |
using | error_type = E |
Public Member Functions | |
storage_t () | |
~storage_t () | |
void | construct_error (error_type const &e) |
void | construct_error (error_type &&e) |
template<class... Args, std::enable_if_t< std::is_constructible_v< E, Args &&... > > * = nullptr> | |
void | construct_error (std::in_place_t, Args &&... args) |
void | destruct_error () |
const error_type & | error () const & |
error_type & | error () & |
constexpr const error_type && | error () const && |
constexpr error_type && | error () && |
Private Attributes | |
error_type | error_ |
specialized storage for <void, E>.
as 'value' is void, all related functions are removed.
using stdx::base::storage_t< void, E >::error_type = E |
using stdx::base::storage_t< void, E >::value_type = void |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
private |