Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | utility‎ | functional‎ | reference wrapper
Revision as of 12:41, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(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)
 
 

Template:ddcl list begin <tr class="t-dcl ">

<td >
operator T& () const;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
T& get() const;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Returns the stored reference.

Contents

Parameters

(none)

Return value

The stored reference.

Exceptions

1-2)
noexcept specification:  
noexcept
  

See also

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