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

Method member_initialized

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

Source from the content-addressed store, hash-verified

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};
86

Callers 4

test_optionalFunction · 0.95
test_exp_optionalFunction · 0.80
test_boost_optionalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected