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

Function print_created

tests/constructor_stats.h:309–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308template <class T, typename... Values>
309void print_created(T *inst, Values &&...values) {
310 print_constr_details(inst, "created", values...);
311 track_created(inst, values...);
312}
313template <class T, typename... Values>
314void print_destroyed(T *inst, Values &&...values) { // Prints but doesn't store given values
315 /*

Callers 15

Vector2Method · 0.85
SequenceMethod · 0.85
ExampleVirtMethod · 0.85
NonCopyableMethod · 0.85
MovableMethod · 0.85
PlaceholderMethod · 0.85
ExampleMandAMethod · 0.85
MatrixMethod · 0.85
FortranMatrixMethod · 0.85
DiscontiguousMatrixMethod · 0.85
MoveOnlyIntMethod · 0.85
MoveOrCopyIntMethod · 0.85

Calls 2

print_constr_detailsFunction · 0.85
track_createdFunction · 0.85

Tested by 15

Vector2Method · 0.68
SequenceMethod · 0.68
ExampleVirtMethod · 0.68
NonCopyableMethod · 0.68
MovableMethod · 0.68
PlaceholderMethod · 0.68
ExampleMandAMethod · 0.68
MatrixMethod · 0.68
FortranMatrixMethod · 0.68
DiscontiguousMatrixMethod · 0.68
MoveOnlyIntMethod · 0.68
MoveOrCopyIntMethod · 0.68