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

Function track_copy_assigned

tests/constructor_stats.h:227–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226template <class T, typename... Values>
227void track_copy_assigned(T *, Values &&...values) {
228 auto &cst = ConstructorStats::get<T>();
229 cst.copy_assignments++;
230 cst.value(std::forward<Values>(values)...);
231}
232template <class T, typename... Values>
233void track_move_assigned(T *, Values &&...values) {
234 auto &cst = ConstructorStats::get<T>();

Callers 2

print_copy_assignedFunction · 0.85
refClass · 0.85

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected