MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / has_value

Method has_value

external/parallel_hashmap/phmap_base.h:2412–2412  ·  view source on GitHub ↗

optional::has_value() Determines whether the `optional` contains a value. Returns `false` if and only if `*this` is empty.

Source from the content-addressed store, hash-verified

2410 // Determines whether the `optional` contains a value. Returns `false` if and
2411 // only if `*this` is empty.
2412 constexpr bool has_value() const noexcept { return this->engaged_; }
2413
2414// Suppress bogus warning on MSVC: MSVC complains call to reference() after
2415// throw_bad_optional_access() is unreachable.

Callers 1

resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected