Namespaces
Variants
Views
Actions

std::raw_storage_iterator<OutputIt,T>::operator=

From cppreference.com
< cpp‎ | memory‎ | raw storage iterator
Revision as of 06:17, 7 October 2023 by Andreas Krug (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
Dynamic memory management
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Allocators
Garbage collection support
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)



 
 
raw_storage_iterator& operator=( const T& el );
(1)
raw_storage_iterator& operator=( T&& el );
(2) (since C++17)
1) Constructs a value at the location the iterator points to from el.
2) Constructs a value at the location the iterator points to from std::move(el).

[edit] Parameters

el - the value to copy or move from

[edit] Return value

*this