Namespaces
Variants
Views
Actions

std::reference_wrapper::operator=

From cppreference.com
< cpp‎ | utility‎ | functional‎ | reference wrapper
Revision as of 18:34, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(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)
 
 
reference_wrapper& operator=( const reference_wrapper<T>& other );
(since C++11)

Copy assignment operator. Drops the current reference and stores a reference to other.get().

[edit] Parameters

other - reference wrapper to copy

[edit] Return values

*this

[edit] Exceptions

noexcept specification:  
noexcept