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

Function track_copy_created

tests/constructor_stats.h:219–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217// constructor stats values for later inspection.
218template <class T>
219void track_copy_created(T *inst) {
220 ConstructorStats::get<T>().copy_created(inst);
221}
222template <class T>
223void track_move_created(T *inst) {
224 ConstructorStats::get<T>().move_created(inst);

Callers 3

CppCallableMethod · 0.85
print_copy_createdFunction · 0.85
refMethod · 0.85

Calls 1

copy_createdMethod · 0.80

Tested by 1

CppCallableMethod · 0.68