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

Function track_values

tests/constructor_stats.h:255–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254template <class T, typename... Values>
255void track_values(T *, Values &&...values) {
256 ConstructorStats::get<T>().value(std::forward<Values>(values)...);
257}
258
259/// Don't cast pointers to Python, print them as strings
260inline const char *format_ptrs(const char *p) { return p; }

Callers 2

print_valuesFunction · 0.85
refClass · 0.85

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected