Contains a reference to an object of type T
.
More...
#include <parameters.hpp>
Public Types | |
typedef T | type |
Type T . More... | |
Public Member Functions | |
BOOST_FORCEINLINE | reference_wrapper (T &t) |
Constructs a reference_wrapper object that stores a reference to t . More... | |
BOOST_FORCEINLINE | operator T & () const |
BOOST_FORCEINLINE T & | get () const |
BOOST_FORCEINLINE T * | get_pointer () const |
Contains a reference to an object of type T
.
reference_wrapper
is primarily used to "feed" references to function templates (algorithms) that take their parameter by value. It provides an implicit conversion to T&
, which usually allows the function templates to work on references unmodified.
typedef T boost::reference_wrapper< T >::type |
Type T
.
|
inlineexplicit |
Constructs a reference_wrapper
object that stores a reference to t
.
|
inline |
Referenced by boost::spirit::karma::reference< Subject >::generate(), boost::BOOST_SIGNALS_NAMESPACE::get_inspectable_slot(), boost::multi_index::const_mem_fun< Class, Type, PtrToMemberFunction >::operator()(), boost::multi_index::detail::const_identity_base< Type >::operator()(), boost::multi_index::detail::const_member_base< Class, Type, PtrToMember >::operator()(), boost::multi_index::mem_fun< Class, Type, PtrToMemberFunction >::operator()(), boost::multi_index::detail::non_const_member_base< Class, Type, PtrToMember >::operator()(), boost::multi_index::detail::non_const_identity_base< Type >::operator()(), boost::multi_index::detail::non_ref_global_fun_base< Value, Type, PtrToFunction >::operator()(), boost::multi_index::const_mem_fun_explicit< Class, Type, PtrToMemberFunctionType, PtrToMemberFunction >::operator()(), boost::multi_index::detail::const_member_offset_base< Class, Type, OffsetOfMember >::operator()(), boost::multi_index::mem_fun_explicit< Class, Type, PtrToMemberFunctionType, PtrToMemberFunction >::operator()(), boost::multi_index::detail::non_const_member_offset_base< Class, Type, OffsetOfMember >::operator()(), boost::spirit::qi::make_primitive< reference< symbols< Char, T, Lookup, Filter > >, Modifiers >::operator()(), boost::multi_index::composite_key< Value, >::operator()(), boost::spirit::karma::make_primitive< reference< symbols< Attribute, T, Lookup, CharEnconding, Tag > >, Modifiers >::operator()(), boost::_bi::list0::operator[](), boost::_bi::list1< A1 >::operator[](), boost::_bi::list2< A1, A2 >::operator[](), boost::_bi::list3< A1, A2, A3 >::operator[](), boost::_bi::list4< A1, A2, A3, A4 >::operator[](), boost::_bi::list5< A1, A2, A3, A4, A5 >::operator[](), boost::_bi::list6< A1, A2, A3, A4, A5, A6 >::operator[](), boost::_bi::list7< A1, A2, A3, A4, A5, A6, A7 >::operator[](), boost::_bi::list8< A1, A2, A3, A4, A5, A6, A7, A8 >::operator[](), boost::_bi::list9< A1, A2, A3, A4, A5, A6, A7, A8, A9 >::operator[](), boost::spirit::qi::reference< Subject >::parse(), boost::_bi::unwrapper< F >::unwrap(), boost::spirit::qi::reference< Subject >::what(), and boost::spirit::karma::reference< Subject >::what().
|
inline |
Referenced by boost::detail::function::BOOST_JOIN(), boost::phoenix::detail::compare::operator()(), and boost::_bi::ref_compare().
|
inline |