![]() |
Embedded Template Library
1.0
|
#include <instance_count.h>
Public Member Functions | |
instance_count () | |
Construct and add 1. | |
instance_count (const instance_count &) | |
Copy construct and add 1. | |
~instance_count () | |
Destruct and subtract 1. | |
Static Public Member Functions | |
static int32_t | get_instance_count () |
Get how many instances we have. | |
static void | reset_instance_count () |
Get how many instances we have. | |
Inherit from this to count instances of a type.