libstdc++
|
#include <refwrap.h>
Inherits _Reference_wrapper_base_memfun< remove_cv< _Tp >::type >.
Public Types | |
typedef _Tp | type |
Public Member Functions | |
template<typename _Up , typename = __not_same<_Up>, typename = decltype(reference_wrapper::_S_fun(std::declval<_Up>()))> | |
constexpr | reference_wrapper (_Up &&__uref) noexcept(noexcept(reference_wrapper::_S_fun(std::declval< _Up >()))) |
reference_wrapper (const reference_wrapper &)=default | |
constexpr _Tp & | get () const noexcept |
constexpr | operator _Tp & () const noexcept |
template<typename... _Args> | |
constexpr result_of< _Tp &(_Args &&...)>::type | operator() (_Args &&... __args) const |
reference_wrapper & | operator= (const reference_wrapper &)=default |
Related Symbols | |
(Note that these are not member symbols.) | |
template<typename _Tp > | |
constexpr reference_wrapper< _Tp > | ref (_Tp &__t) noexcept |
template<typename _Tp > | |
constexpr reference_wrapper< const _Tp > | cref (const _Tp &__t) noexcept |
template<typename _Tp > | |
constexpr reference_wrapper< _Tp > | ref (reference_wrapper< _Tp > __t) noexcept |
template<typename _Tp > | |
constexpr reference_wrapper< const _Tp > | cref (reference_wrapper< _Tp > __t) noexcept |
Primary class template for reference_wrapper.
typedef _Tp std::reference_wrapper< _Tp >::type |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
related |
|
related |
|
related |
|
related |