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 345 of file optional.hpp.
|
private |
Definition at line 669 of file optional.hpp.
typedef T BT::optional_lite::optional< T >::value_type |
Definition at line 672 of file optional.hpp.
|
inline |
Definition at line 674 of file optional.hpp.
|
inline |
Definition at line 679 of file optional.hpp.
|
inline |
Definition at line 684 of file optional.hpp.
|
inline |
Definition at line 700 of file optional.hpp.
|
inline |
Definition at line 726 of file optional.hpp.
|
inline |
Definition at line 854 of file optional.hpp.
|
inlineprivate |
Definition at line 927 of file optional.hpp.
|
inline |
Definition at line 848 of file optional.hpp.
|
inline |
Definition at line 816 of file optional.hpp.
|
inline |
Definition at line 822 of file optional.hpp.
|
inline |
Definition at line 804 of file optional.hpp.
|
inline |
Definition at line 810 of file optional.hpp.
|
inline |
Definition at line 734 of file optional.hpp.
|
inline |
Definition at line 740 of file optional.hpp.
|
inline |
Definition at line 915 of file optional.hpp.
|
inline |
Definition at line 791 of file optional.hpp.
|
inlineprivate |
Definition at line 924 of file optional.hpp.
|
inline |
Definition at line 859 of file optional.hpp.
|
inline |
Definition at line 867 of file optional.hpp.
|
inline |
Definition at line 906 of file optional.hpp.
|
private |
Definition at line 947 of file optional.hpp.
|
private |
Definition at line 946 of file optional.hpp.