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

Function print_copy_created

tests/constructor_stats.h:282–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280// Verbose versions of the above:
281template <class T, typename... Values>
282void print_copy_created(T *inst,
283 Values &&...values) { // NB: this prints, but doesn't store, given values
284 print_constr_details(inst, "created via copy constructor", values...);
285 track_copy_created(inst);
286}
287template <class T, typename... Values>
288void print_move_created(T *inst,
289 Values &&...values) { // NB: this prints, but doesn't store, given values

Callers 15

Vector2Method · 0.85
SequenceMethod · 0.85
ExampleVirtMethod · 0.85
MovableMethod · 0.85
ExampleMandAMethod · 0.85
PayloadMethod · 0.85
MatrixMethod · 0.85
MoveOrCopyIntMethod · 0.85
CopyOnlyIntMethod · 0.85
DestructionTesterMethod · 0.85
AMethod · 0.85
BMethod · 0.85

Calls 2

print_constr_detailsFunction · 0.85
track_copy_createdFunction · 0.85

Tested by 15

Vector2Method · 0.68
SequenceMethod · 0.68
ExampleVirtMethod · 0.68
MovableMethod · 0.68
ExampleMandAMethod · 0.68
PayloadMethod · 0.68
MatrixMethod · 0.68
MoveOrCopyIntMethod · 0.68
CopyOnlyIntMethod · 0.68
DestructionTesterMethod · 0.68
AMethod · 0.68
BMethod · 0.68