MCPcopy Create free account
hub / github.com/FakerYFX/FOTS / init_instance

Method init_instance

lanms/include/pybind11/pybind11.h:1216–1223  ·  view source on GitHub ↗

Performs instance initialization including constructing a holder and registering the known instance. Should be called as soon as the `type` value_ptr is set for an instance. Takes an optional pointer to an existing holder to use; if not specified and the instance is `.owned`, a new holder will be constructed to manage the value pointer.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

castMethod · 0.45
dispatcherMethod · 0.45

Calls 4

register_instanceFunction · 0.70
get_value_and_holderMethod · 0.45
instance_registeredMethod · 0.45

Tested by

no test coverage detected