Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
instance_count< T > Class Template Reference
Inherit from this to count instances of a type. More...
#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.
Definition at line 46 of file instance_count.h.
Constructor & Destructor Documentation
instance_count | ( | ) |
Construct and add 1.
Definition at line 53 of file instance_count.h.
virtual ~instance_count | ( | ) | [virtual] |
Destruct and subtract 1.
Definition at line 61 of file instance_count.h.
Member Function Documentation
static size_t get_instance_count | ( | ) | [static] |
Get how many instances we have.
Definition at line 69 of file instance_count.h.
Generated on Tue Jul 12 2022 14:05:50 by
