#include <old_optional_implementation.hpp>
Public Types | |
typedef BOOST_DEDUCED_TYPENAME mpl::if_< is_reference_predicate, types_when_ref, types_when_not_ref >::type | types |
Public Member Functions | |
pointer_type | get_ptr () |
pointer_type | get_ptr () |
pointer_const_type | get_ptr () const |
pointer_const_type | get_ptr () const |
bool | is_initialized () const |
bool | is_initialized () const |
void | reset () BOOST_NOEXCEPT |
void | reset () BOOST_NOEXCEPT |
void | reset (argument_type val) |
void | reset (argument_type val) |
Protected Types | |
typedef T const & | argument_type |
typedef BOOST_DEDUCED_TYPENAME types::argument_type | argument_type |
typedef mpl::false_ | is_not_reference_tag |
typedef BOOST_DEDUCED_TYPENAME is_reference< T >::type | is_reference_predicate |
typedef mpl::true_ | is_reference_tag |
typedef T const * | pointer_const_type |
typedef BOOST_DEDUCED_TYPENAME types::pointer_const_type | pointer_const_type |
typedef T * | pointer_type |
typedef BOOST_DEDUCED_TYPENAME types::pointer_type | pointer_type |
typedef T const & | reference_const_type |
typedef BOOST_DEDUCED_TYPENAME types::reference_const_type | reference_const_type |
typedef T & | reference_type |
typedef BOOST_DEDUCED_TYPENAME types::reference_type | reference_type |
typedef T && | reference_type_of_temporary_wrapper |
typedef BOOST_DEDUCED_TYPENAME types::reference_type_of_temporary_wrapper | reference_type_of_temporary_wrapper |
typedef T && | rval_reference_type |
typedef BOOST_DEDUCED_TYPENAME types::rval_reference_type | rval_reference_type |
typedef T | value_type |
typedef T | value_type |
Protected Member Functions | |
void | assign (argument_type val) |
void | assign (argument_type val) |
void | assign (none_t) BOOST_NOEXCEPT |
void | assign (none_t) BOOST_NOEXCEPT |
template<class U > | |
void | assign (optional< U > &&rhs) |
template<class U > | |
void | assign (optional< U > &&rhs) |
template<class U > | |
void | assign (optional< U > const &rhs) |
template<class U > | |
void | assign (optional< U > const &rhs) |
void | assign (optional_base &&rhs) |
void | assign (optional_base &&rhs) |
void | assign (optional_base const &rhs) |
void | assign (optional_base const &rhs) |
void | assign (rval_reference_type val) |
void | assign (rval_reference_type val) |
template<class Expr , class ExprPtr > | |
void | assign_expr (Expr &&expr, ExprPtr const *tag) |
template<class Expr , class ExprPtr > | |
void | assign_expr (Expr &&expr, ExprPtr const *tag) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&expr, void const *) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&expr, void const *) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&factory, in_place_factory_base const *tag) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&factory, in_place_factory_base const *tag) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&factory, typed_in_place_factory_base const *tag) |
template<class Expr > | |
void | assign_expr_to_initialized (Expr &&factory, typed_in_place_factory_base const *tag) |
void | assign_value (argument_type val) |
void | assign_value (argument_type val, is_not_reference_tag) |
void | assign_value (argument_type val, is_reference_tag) |
void | assign_value (rval_reference_type val) |
void | assign_value (rval_reference_type val, is_not_reference_tag) |
void | assign_value (rval_reference_type val, is_reference_tag) |
void | construct (argument_type val) |
void | construct (argument_type val) |
template<class Expr > | |
void | construct (Expr &&expr, void const *) |
template<class Expr > | |
void | construct (Expr &&expr, void const *) |
template<class Expr > | |
void | construct (Expr &&factory, in_place_factory_base const *) |
template<class Expr > | |
void | construct (Expr &&factory, in_place_factory_base const *) |
template<class Expr > | |
void | construct (Expr &&factory, typed_in_place_factory_base const *) |
template<class Expr > | |
void | construct (Expr &&factory, typed_in_place_factory_base const *) |
void | construct (rval_reference_type val) |
void | construct (rval_reference_type val) |
void | destroy () |
void | destroy () |
template<class... Args> | |
void | emplace_assign (Args &&... args) |
template<class... Args> | |
void | emplace_assign (Args &&... args) |
reference_type | get_impl () |
reference_type | get_impl () |
reference_const_type | get_impl () const |
reference_const_type | get_impl () const |
pointer_type | get_ptr_impl () |
pointer_type | get_ptr_impl () |
pointer_const_type | get_ptr_impl () const |
pointer_const_type | get_ptr_impl () const |
optional_base () | |
optional_base () | |
optional_base (argument_type val) | |
optional_base (argument_type val) | |
optional_base (bool cond, argument_type val) | |
optional_base (bool cond, argument_type val) | |
template<class Expr , class PtrExpr > | |
optional_base (Expr &&expr, PtrExpr const *tag) | |
template<class Expr , class PtrExpr > | |
optional_base (Expr &&expr, PtrExpr const *tag) | |
optional_base (none_t) | |
optional_base (none_t) | |
optional_base (optional_base &&rhs) | |
optional_base (optional_base &&rhs) | |
optional_base (optional_base const &rhs) | |
optional_base (optional_base const &rhs) | |
optional_base (rval_reference_type val) | |
optional_base (rval_reference_type val) | |
~optional_base () | |
~optional_base () | |
Private Types | |
typedef BOOST_DEDUCED_TYPENAME ::boost::detail::make_reference_content< T >::type | internal_type |
typedef aligned_storage< T > | storage_type |
typedef aligned_storage< internal_type > | storage_type |
typedef optional_base< T > | this_type |
typedef optional_base< T > | this_type |
typedef types_when_isnt_ref< T > | types_when_not_ref |
typedef types_when_is_ref< T > | types_when_ref |
Private Member Functions | |
pointer_type | cast_ptr (internal_type *p, is_not_reference_tag) |
pointer_type | cast_ptr (internal_type *p, is_reference_tag) |
pointer_const_type | cast_ptr (internal_type const *p, is_not_reference_tag) const |
pointer_const_type | cast_ptr (internal_type const *p, is_reference_tag) const |
reference_type | dereference (internal_type *p, is_not_reference_tag) |
reference_type | dereference (internal_type *p, is_reference_tag) |
reference_const_type | dereference (internal_type const *p, is_not_reference_tag) const |
reference_const_type | dereference (internal_type const *p, is_reference_tag) const |
void | destroy_impl () |
void | destroy_impl (is_not_reference_tag) |
void | destroy_impl (is_reference_tag) |
internal_type * | get_object () |
internal_type const * | get_object () const |
Private Attributes | |
bool | m_initialized |
storage_type | m_storage |
Definition at line 78 of file old_optional_implementation.hpp.
|
protected |
Definition at line 86 of file optional/optional.hpp.
|
protected |
Definition at line 116 of file old_optional_implementation.hpp.
|
private |
Definition at line 86 of file old_optional_implementation.hpp.
|
protected |
Definition at line 100 of file old_optional_implementation.hpp.
|
protected |
Definition at line 102 of file old_optional_implementation.hpp.
|
protected |
Definition at line 99 of file old_optional_implementation.hpp.
|
protected |
Definition at line 85 of file optional/optional.hpp.
|
protected |
Definition at line 115 of file old_optional_implementation.hpp.
|
protected |
Definition at line 84 of file optional/optional.hpp.
|
protected |
Definition at line 114 of file old_optional_implementation.hpp.
|
protected |
Definition at line 79 of file optional/optional.hpp.
|
protected |
Definition at line 109 of file old_optional_implementation.hpp.
|
protected |
Definition at line 78 of file optional/optional.hpp.
|
protected |
Definition at line 108 of file old_optional_implementation.hpp.
|
protected |
Definition at line 82 of file optional/optional.hpp.
|
protected |
Definition at line 112 of file old_optional_implementation.hpp.
|
protected |
Definition at line 81 of file optional/optional.hpp.
|
protected |
Definition at line 111 of file old_optional_implementation.hpp.
|
private |
Definition at line 70 of file optional/optional.hpp.
|
private |
Definition at line 88 of file old_optional_implementation.hpp.
|
private |
Definition at line 71 of file optional/optional.hpp.
|
private |
Definition at line 93 of file old_optional_implementation.hpp.
typedef BOOST_DEDUCED_TYPENAME mpl::if_<is_reference_predicate,types_when_ref,types_when_not_ref>::type boost::optional_detail::optional_base< T >::types |
Definition at line 105 of file old_optional_implementation.hpp.
|
private |
Definition at line 90 of file old_optional_implementation.hpp.
|
private |
Definition at line 91 of file old_optional_implementation.hpp.
|
protected |
Definition at line 75 of file optional/optional.hpp.
|
protected |
Definition at line 97 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 120 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 126 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 132 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 142 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 152 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 162 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 173 of file old_optional_implementation.hpp.
|
inlineexplicitprotected |
Definition at line 185 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 208 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 90 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 96 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 102 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 112 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 122 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 132 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 143 of file optional/optional.hpp.
|
inlineexplicitprotected |
Definition at line 155 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 178 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 261 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 291 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 280 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 310 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 243 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 273 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 216 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 246 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 198 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 228 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 181 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 211 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 270 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 300 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 286 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 316 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 474 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 508 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 408 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 440 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 416 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 448 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 544 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 578 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 579 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 546 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 581 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 582 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 635 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 637 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 634 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 636 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 323 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 353 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 463 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 497 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 393 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 423 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 401 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 432 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 330 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 360 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 619 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 621 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 618 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 620 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 549 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 585 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 566 of file optional/optional.hpp.
|
inlineprivate |
Definition at line 626 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 629 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 342 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 372 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 556 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 592 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 555 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 591 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 614 of file old_optional_implementation.hpp.
|
inlineprivate |
Definition at line 613 of file old_optional_implementation.hpp.
|
inline |
Definition at line 317 of file optional/optional.hpp.
|
inline |
Definition at line 347 of file old_optional_implementation.hpp.
|
inline |
Definition at line 316 of file optional/optional.hpp.
|
inline |
Definition at line 346 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 559 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 595 of file old_optional_implementation.hpp.
|
inlineprotected |
Definition at line 558 of file optional/optional.hpp.
|
inlineprotected |
Definition at line 594 of file old_optional_implementation.hpp.
|
inline |
Definition at line 319 of file optional/optional.hpp.
|
inline |
Definition at line 349 of file old_optional_implementation.hpp.
|
inline |
Definition at line 308 of file optional/optional.hpp.
|
inline |
Definition at line 338 of file old_optional_implementation.hpp.
|
inline |
Definition at line 311 of file optional/optional.hpp.
|
inline |
Definition at line 341 of file old_optional_implementation.hpp.
|
private |
Definition at line 639 of file old_optional_implementation.hpp.
|
private |
Definition at line 640 of file old_optional_implementation.hpp.