std::generator::~generator(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

🌸 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 reason
  • Todo no example

made with love from http://cppreference.com, version date 2024.06.10 πŸ’–βœ¨

πŸ“¦ where this page comes from