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)
(C++11)
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
Deprecated 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.

Contents

[edit] Parameters

(none)

[edit] Return value

The stored reference.

[edit] Exceptions

1-2)
noexcept specification:  
noexcept
  

[edit] See also

calls the stored function
(public member function)