MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / ~generator

Method ~generator

tests/EduCoroutineSuspendNeverBoolTest.cpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30 generator(generator &&rhs) : p{std::exchange(rhs.p, nullptr)} {}
31 ~generator() { if (p) { p.destroy(); } }
32
33private:
34 explicit generator(promise_type* _p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected