ViennaGrid - The Vienna Grid Library
2.1.0
|
A generator which returns numerical IDs (of possibly different type) in a continuous fashion starting from zero for each requested type. More...
#include <id_generator.hpp>
A generator which returns numerical IDs (of possibly different type) in a continuous fashion starting from zero for each requested type.
The configuration is carried out via a type map. For an element <KeyType, IDTag> the KeyType is used for the operator() dispatch, while the IDTag specifies the type of the ID used.