class optional More...
#include <optional.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
optional_constexpr bool | has_value () const optional_noexcept |
optional_constexpr | operator safe_bool () const optional_noexcept |
optional_constexpr value_type const & | operator* () const optional_ref_qual |
optional_constexpr14 value_type & | operator* () optional_ref_qual |
optional_constexpr value_type const * | operator-> () const |
optional_constexpr14 value_type * | operator-> () |
optional & | operator= (nullopt_t) optional_noexcept |
optional & | operator= (optional const &rhs) |
optional_constexpr | optional () optional_noexcept |
optional_constexpr | optional (nullopt_t) optional_noexcept |
optional (optional const &rhs) | |
optional_constexpr | optional (value_type const &value) |
void | reset () optional_noexcept |
void | swap (optional &rhs) |
optional_constexpr14 value_type const & | value () const optional_ref_qual |
optional_constexpr14 value_type & | value () optional_ref_qual |
template<class U > | |
optional_constexpr value_type | value_or (U const &v) const |
~optional () | |
Private Types | |
typedef void(optional::* | safe_bool) () const |
Private Member Functions | |
template<typename V > | |
void | initialize (V const &value) |
void | this_type_does_not_support_comparisons () const |
Private Attributes | |
detail::storage_t< value_type > | contained |
bool | has_value_ |
class optional
optional
Definition at line 238 of file optional.hpp.
|
private |
Definition at line 567 of file optional.hpp.
typedef T nonstd::optional_lite::optional< T >::value_type |
Definition at line 570 of file optional.hpp.
|
inline |
Definition at line 572 of file optional.hpp.
|
inline |
Definition at line 577 of file optional.hpp.
|
inline |
Definition at line 582 of file optional.hpp.
|
inline |
Definition at line 598 of file optional.hpp.
|
inline |
Definition at line 624 of file optional.hpp.
|
inline |
Definition at line 750 of file optional.hpp.
|
inlineprivate |
Definition at line 829 of file optional.hpp.
|
inline |
Definition at line 744 of file optional.hpp.
|
inline |
Definition at line 711 of file optional.hpp.
|
inline |
Definition at line 717 of file optional.hpp.
|
inline |
Definition at line 699 of file optional.hpp.
|
inline |
Definition at line 705 of file optional.hpp.
|
inline |
Definition at line 632 of file optional.hpp.
|
inline |
Definition at line 638 of file optional.hpp.
|
inline |
Definition at line 817 of file optional.hpp.
|
inline |
Definition at line 686 of file optional.hpp.
|
inlineprivate |
Definition at line 826 of file optional.hpp.
|
inline |
Definition at line 755 of file optional.hpp.
|
inline |
Definition at line 763 of file optional.hpp.
|
inline |
Definition at line 808 of file optional.hpp.
|
private |
Definition at line 848 of file optional.hpp.
|
private |
Definition at line 847 of file optional.hpp.