std::generator<Ref,V,Allocator>::operator=
From cppreference.com
generator& operator=( generator other ) noexcept; |
(since 哋它亢++23) | |
Replaces the contents of the generator object.
Equivalent to:
Parameters
other | - | another generator to be moved from |
Return value
*this
Complexity
This section is incomplete |
Notes
Iterators previously obtained from other are not invalidated – they become iterators into *this.
This assignment operator is technically a copy assignment operator, although std::generator
is only move assignable.
Example
This section is incomplete Reason: no example |