iterator& operator=(iterator&& other) noexcept;
概要
ジェネレータコルーチンのイテレータをムーブ代入する。
効果
coroutine_ = exchange(other.coroutine_, {});
戻り値
*this
例外
投げない
バージョン
言語
- C++23
処理系
- Clang:
- GCC:
- ICC:
- Visual C++:
iterator& operator=(iterator&& other) noexcept;
ジェネレータコルーチンのイテレータをムーブ代入する。
coroutine_ = exchange(other.coroutine_, {});
*this
投げない