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

From cppreference.com
 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(C++11)
(C++11)
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
Deprecated binders and adaptors
(deprecated)
(deprecated)
(deprecated)
(deprecated)
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)(deprecated)
(deprecated)(deprecated)
 
 
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)