Go to the documentation of this file.
13 #ifndef BOOST_OPTIONAL_DETAIL_OPTIONAL_SWAP_AJK_28JAN2015_HPP
14 #define BOOST_OPTIONAL_DETAIL_OPTIONAL_SWAP_AJK_28JAN2015_HPP
21 namespace optional_detail {
31 const bool hasX = !!x;
32 const bool hasY = !!y;
52 #ifdef BOOST_OPTIONAL_DETAIL_MOVE
53 # undef BOOST_OPTIONAL_DETAIL_MOVE
56 #ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
57 # define BOOST_OPTIONAL_DETAIL_MOVE(EXPR_) boost::move(EXPR_)
59 # define BOOST_OPTIONAL_DETAIL_MOVE(EXPR_) EXPR_
94 #if (!defined BOOST_NO_CXX11_RVALUE_REFERENCES) && (!defined BOOST_CONFIG_RESTORE_OBSOLETE_SWAP_IMPLEMENTATION)
115 #undef BOOST_OPTIONAL_DETAIL_MOVE
117 #endif // header guard
void swap(any &lhs, any &rhs) BOOST_NOEXCEPT
#define BOOST_OPTIONAL_DETAIL_MOVE(EXPR_)
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
reference_const_type get() const
static void optional_swap(optional< T > &x, optional< T > &y)
const none_t none((none_t::init_tag()))
void emplace(Args &&... args)
static void optional_swap(optional< T > &x, optional< T > &y)
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:34