MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / reset

Function reset

system/lib/llvm-libc/src/__support/CPP/optional.h:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 LIBC_INLINE constexpr optional &operator=(const optional &) = default;
108
109 LIBC_INLINE constexpr void reset() { storage.reset(); }
110
111 LIBC_INLINE constexpr const T &value() const & {
112 return storage.stored_value;

Callers 2

OptionalStorageMethod · 0.70
OptionalStorageMethod · 0.50

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected