libycxx

class template

std::reference_wrapper

Scope
std

Synopsis

template<class T>
class reference_wrapper;

Member types

NameDeclaration
typetype alias · member type= T

Member functions

NameDeclaration
reference_wrapperconstructor · 2 overloadsreference_wrapper(const reference_wrapper& other) +1 more
operator=operatorreference_wrapper& operator=(const reference_wrapper& other)
getmember functionT& get() const
operator()operator templateinvoke_result_t<T&, Args...> operator()(Args&&... args) const
operator T&conversion functionoperator T&() const