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

From cppreference.com
 
 
 
Function objects


Function wrappers
(C++11)
(C++11)
(C++17)
Bind
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
(deprecated)
(deprecated)

(deprecated)
(deprecated)
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++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)
 
 
operator T& () const;
(since C++11)
T& get() const;
(since C++11)

Returns the stored reference.

Parameters

(none)

Return value

The stored reference.

Exceptions

1-2)
noexcept specification:  
noexcept
  

See also

calls the stored function
(public member function)