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

Function track_default_created

tests/constructor_stats.h:239–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238template <class T, typename... Values>
239void track_default_created(T *inst, Values &&...values) {
240 auto &cst = ConstructorStats::get<T>();
241 cst.default_created(inst);
242 cst.value(std::forward<Values>(values)...);
243}
244template <class T, typename... Values>
245void track_created(T *inst, Values &&...values) {
246 auto &cst = ConstructorStats::get<T>();

Callers 3

CppCallableMethod · 0.85
print_default_createdFunction · 0.85
refMethod · 0.85

Calls 2

default_createdMethod · 0.80
valueMethod · 0.45

Tested by 1

CppCallableMethod · 0.68