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

Function print_move_created

tests/constructor_stats.h:288–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287template <class T, typename... Values>
288void print_move_created(T *inst,
289 Values &&...values) { // NB: this prints, but doesn't store, given values
290 print_constr_details(inst, "created via move constructor", values...);
291 track_move_created(inst);
292}
293template <class T, typename... Values>
294void print_copy_assigned(T *inst, Values &&...values) {
295 print_constr_details(inst, "assigned via copy assignment", values...);

Callers 15

Vector2Method · 0.85
SequenceMethod · 0.85
ExampleVirtMethod · 0.85
NonCopyableMethod · 0.85
MovableMethod · 0.85
ExampleMandAMethod · 0.85
PayloadMethod · 0.85
MatrixMethod · 0.85
MoveOnlyIntMethod · 0.85
MoveOrCopyIntMethod · 0.85
DestructionTesterMethod · 0.85
AMethod · 0.85

Calls 2

print_constr_detailsFunction · 0.85
track_move_createdFunction · 0.85

Tested by 15

Vector2Method · 0.68
SequenceMethod · 0.68
ExampleVirtMethod · 0.68
NonCopyableMethod · 0.68
MovableMethod · 0.68
ExampleMandAMethod · 0.68
PayloadMethod · 0.68
MatrixMethod · 0.68
MoveOnlyIntMethod · 0.68
MoveOrCopyIntMethod · 0.68
DestructionTesterMethod · 0.68
AMethod · 0.68