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

Function track_destroyed

tests/constructor_stats.h:251–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250template <class T, typename... Values>
251void track_destroyed(T *inst) {
252 ConstructorStats::get<T>().destroyed(inst);
253}
254template <class T, typename... Values>
255void track_values(T *, Values &&...values) {
256 ConstructorStats::get<T>().value(std::forward<Values>(values)...);

Callers 3

~CppCallableMethod · 0.85
print_destroyedFunction · 0.85
~refMethod · 0.85

Calls 1

destroyedMethod · 0.80

Tested by 1

~CppCallableMethod · 0.68