GSAPI::UniqueTypeIDCreator class

A template utility class which assigns a unique ID to each type it is instantiated with. The ID is an UInt32 value which is incremented with each specialization of the template. This means that the ID is only unique for a given compilation – if the sources change then the specialization order might also change. The class was introduced to support flyweight factories.


Namespace: GSAPI

Header: UniqueTypeIDCreator.hpp

Source: UniqueTypeIDCreator.cpp

Version: API 10.21 or later