Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
StaticID.h File Reference

Go to the source code of this file.

Classes

class  model::StaticID< Derived >
 A class template that implements a counter of the number of instances of Derived type that are created at runtime. It also provides a unique increasing static identifier (sID) for each instance. More...

Namespaces

namespace  model

Variables

template<typename Derived>
size_t model::StaticID< Derived >::increment = 1
template<typename Derived>
size_t model::StaticID< Derived >::count = 0
template<typename Derived>
bool model::StaticID< Derived >::count_used = false