|
RAVENNAKIT
|
Little helper class which keeps track of how many instances of this class have been created and how many are still alive. More...
#include <object_counter.hpp>
Public Member Functions | |
| CountedObject ()=delete | |
| CountedObject (ObjectCounter &counter) | |
| ~CountedObject () | |
| CountedObject (const CountedObject &)=delete | |
| CountedObject & | operator= (const CountedObject &)=delete |
| CountedObject (CountedObject &&)=delete | |
| CountedObject & | operator= (CountedObject &&)=delete |
| size_t | index () const |
Little helper class which keeps track of how many instances of this class have been created and how many are still alive.
Useful to track object creation and destruction in tests.
Definition at line 42 of file object_counter.hpp.
|
delete |
|
inlineexplicit |
Definition at line 46 of file object_counter.hpp.
|
inline |
Definition at line 50 of file object_counter.hpp.
|
delete |
|
delete |
|
inlinenodiscard |
Definition at line 64 of file object_counter.hpp.
|
delete |
|
delete |