Embedded Template Library  1.0
 All Classes Files Functions Variables Typedefs Friends Modules Pages
etl::instance_count< T > Class Template Reference

#include <instance_count.h>

Public Member Functions

 instance_count ()
 Construct and add 1.
 
virtual ~instance_count ()
 Destruct and subtract 1.
 

Static Public Member Functions

static size_t get_instance_count ()
 Get how many instances we have.
 

Detailed Description

template<typename T>
class etl::instance_count< T >

Inherit from this to count instances of a type.


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