trusty (3) std::reference_wrapper.3cxx.gz

Provided by: libstdc++6-4.4-doc_4.4.7-8ubuntu1_all bug

NAME

       std::reference_wrapper< _Tp > -

SYNOPSIS

       Inherits std::_Reference_wrapper_base< remove_cv< _Tp >::type >.

   Public Types
       typedef _Tp type

   Public Member Functions
       _Tp & get () const
       operator _Tp & () const
       template<typename... _Args> result_of< _M_func_type(_Args...)>
           ::type operator() (_Args &...__args) const "
       reference_wrapper & operator= (const reference_wrapper< _Tp > &__inref)
       reference_wrapper (_Tp &__indata)
       reference_wrapper (const reference_wrapper< _Tp > &__inref)

Detailed Description

   template<typename _Tp>class std::reference_wrapper< _Tp >
       reference_wrapper

       A convenience wrapper for creating a pair from two objects.

       Parameters:
           x The first object.
           y The second object.

       Returns:
           A newly-constructed pair<> object of the appropriate type.

       The standard requires that the objects be passed by reference-to-const, but LWG issue #181 says they
       should be passed by const value. We follow the LWG by default.

       Definition at line 426 of file tr1_impl/functional.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.