RAVENNAKIT
Loading...
Searching...
No Matches
rav::ObjectCounter Class Reference

Holds the number of instances created and destroyed. More...

#include <object_counter.hpp>

Public Attributes

size_t instances_created = 0
size_t instances_alive = 0

Detailed Description

Holds the number of instances created and destroyed.

Useful for tracking object creation and destruction in tests.

Definition at line 32 of file object_counter.hpp.

Member Data Documentation

◆ instances_alive

size_t rav::ObjectCounter::instances_alive = 0

Definition at line 35 of file object_counter.hpp.

◆ instances_created

size_t rav::ObjectCounter::instances_created = 0

Definition at line 34 of file object_counter.hpp.


The documentation for this class was generated from the following file: