function template · 3 overloads
std::ref
- Header
<functional>- Draft
- [functional.syn]
- Scope
std- cppreference
- std::ref
Overloads
- (1)
template<class T> constexpr reference_wrapper<T> ref(reference_wrapper<T> t) noexcept; - (2)
template<class T> constexpr reference_wrapper<T> ref(T& t) noexcept; - (3)
template<class T> void ref(const T&&) = delete;