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

Function track_move_assigned

tests/constructor_stats.h:233–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232template <class T, typename... Values>
233void track_move_assigned(T *, Values &&...values) {
234 auto &cst = ConstructorStats::get<T>();
235 cst.move_assignments++;
236 cst.value(std::forward<Values>(values)...);
237}
238template <class T, typename... Values>
239void track_default_created(T *inst, Values &&...values) {
240 auto &cst = ConstructorStats::get<T>();

Callers 2

print_move_assignedFunction · 0.85
refClass · 0.85

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected