std::generator<Ref,V,Allocator>::operator=

Replaces the contents of the generator object. Equivalent to:

# Declarations

generator& operator=( generator other ) noexcept;

(since C++23)

# Parameters

# Return value

*this

# 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 incompleteReason: no example