Namespaces
Variants
Views
Actions

std::reference_wrapper::get, std::reference_wrapper::operator T&

From cppreference.com
 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(C++11)
Function invocation
(C++17)
Identity function object
(C++20)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
(C++17)
Searchers
Old binders and adaptors
(until C++17)
(until C++17)
(until C++17)
(until C++17)
(until C++17)(until C++17)(until C++17)(until C++17)
(until C++20)
(until C++20)
(until C++17)(until C++17)
(until C++17)(until C++17)

(until C++17)
(until C++17)(until C++17)(until C++17)(until C++17)
(until C++20)
(until C++20)
 
 
operator T& () const noexcept;
(since C++11)
T& get() const noexcept;
(since C++11)

Returns the stored reference.

[edit] Parameters

(none)

[edit] Return value

The stored reference.

[edit] See also

calls the stored function
(public member function) [edit]