最終更新日時(UTC):
が更新

履歴 編集

function
<generator>

std::generator::iterator::operator=(C++23)

iterator& operator=(iterator&& other) noexcept;

概要

ジェネレータコルーチンのイテレータをムーブ代入する。

効果

coroutine_ = exchange(other.coroutine_, {});

戻り値

*this

例外

投げない

バージョン

言語

  • C++23

処理系