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

Method ~generator

tests/EduCoroutineFunctionTemplateTest.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected