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

Method OptionalHolder

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

NOLINTNEXTLINE(modernize-use-equals-default): breaks GCC 4.8

Source from the content-addressed store, hash-verified

80struct OptionalHolder {
81 // NOLINTNEXTLINE(modernize-use-equals-default): breaks GCC 4.8
82 OptionalHolder() {};
83 bool member_initialized() const { return member && member->initialized; }
84 OptionalImpl<T> member = T{};
85};

Callers 1

test_optionalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected