MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / reset

Method reset

include/stdexec/__detail/__optional.hpp:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 constexpr void reset() noexcept
192 {
193 if (__has_value_)
194 {
195 __value_.__destroy();
196 __has_value_ = false;
197 }
198 }
199
200 private:
201 __manual_lifetime<_Tp> __value_;

Callers 4

__completeMethod · 0.45
__set_backend_factoryMethod · 0.45

Calls 1

__destroyMethod · 0.45

Tested by

no test coverage detected