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

Method DataField

tests/test_class_sh_property_non_owning.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13struct DataField {
14 DataField(int i_value, int i_shared, int i_unique)
15 : core_fld_value{i_value}, core_fld_shared_ptr{new CoreField{i_shared}},
16 core_fld_raw_ptr{core_fld_shared_ptr.get()},
17 core_fld_unique_ptr{new CoreField{i_unique}} {}
18 CoreField core_fld_value;
19 std::shared_ptr<CoreField> core_fld_shared_ptr;
20 CoreField *core_fld_raw_ptr;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected