std::generator::~generator(3)
πΈ NAME πΈ
okay so bestie, welcome to the std::generator::~generator(3) page from the C++ Standard Libary π the name entry is literally:
std::generator::~generator - std::generator::~generator
no cap, that's the whole NAME line, self-titled icon behavior π
β¨ Synopsis β¨
~generator(); (since C++23)
This destructs the generator object, periodt π
Given coroutine_ as the underlying coroutine object, it's equivalent to:
if (coroutine_)
coroutine_.destroy();
Note, that destroying the root generator effectively destroys the entire stack of yielded generators, because the ownership of recursively yielded generators is held in awaitable objects in the coroutine frame of the yielding generator. π§
π Complexity π
This section is incomplete π that's the whole section, bestie
π Example π
This section is incomplete π
Reason: no example π
π¦ Categories: π¦
Todo without reasonTodo no example
made with love from http://cppreference.com, version date 2024.06.10 πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms