MCPcopy Create free account
hub / github.com/davisking/dlib / has_value

Method has_value

dlib/optional.h:624–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 constexpr const T&& operator*() const&& noexcept { return std::move(this->val); }
623 constexpr explicit operator bool() const noexcept { return this->active; }
624 constexpr bool has_value() const noexcept { return this->active; }
625
626 constexpr T& value() &
627 {

Callers 4

serializeFunction · 0.80
deserializeFunction · 0.80
operator>=Function · 0.80
test_optional_intFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_optional_intFunction · 0.64