MCPcopy Create free account
hub / github.com/davisking/dlib / reset_counters

Function reset_counters

dlib/test/optional.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 static int move_assign_count{0};
321
322 static void reset_counters()
323 {
324 constructor_count = 0;
325 copy_constructor_count = 0;
326 move_constructor_count = 0;
327 copy_assign_count = 0;
328 move_assign_count = 0;
329 }
330
331 struct optional_dummy
332 {

Callers 1

test_constructorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected