MCPcopy Create free account
hub / github.com/pybind/pybind11 / OptionalProperties

Method OptionalProperties

tests/test_stl.cpp:101–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 using OptionalEnumValue = OptionalImpl<EnumType>;
100
101 OptionalProperties() : value(EnumType::kSet) {}
102 OptionalProperties(const OptionalProperties &) = default;
103 ~OptionalProperties() {
104 // Reset value to detect use-after-destruction.

Callers 1

test_optionalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected