Scroll to navigation

std::reference_wrapper< _Tp >(3cxx) std::reference_wrapper< _Tp >(3cxx)

NAME

std::reference_wrapper< _Tp > - Primary class template for reference_wrapper.

SYNOPSIS

Public Types


typedef _Tp type

Public Member Functions


template<typename _Up , typename = __not_same<_Up>, typename = decltype(reference_wrapper::_S_fun(std::declval<_Up>()))> reference_wrapper (_Up &&__uref) noexcept(noexcept(reference_wrapper::_S_fun(std::declval< _Up >())))
reference_wrapper (const reference_wrapper &)=default
_Tp & get () const noexcept
operator _Tp & () const noexcept
template<typename... _Args> result_of< _Tp &(_Args &&...)>::type operator() (_Args &&... __args) const
reference_wrapper & operator= (const reference_wrapper &)=default

Detailed Description

template<typename _Tp>

class std::reference_wrapper< _Tp >" Primary class template for reference_wrapper.

Definition at line 2020 of file type_traits.

Author

Generated automatically by Doxygen for libstdc++ from the source code.
Wed Jun 17 2020 libstdc++