Rosetta Utilities  2014.35
Classes | Namespaces
Registrant.hh File Reference

Factory registrant. More...

#include <utility/factory/Registrant.fwd.hh>
#include <utility/factory/Factory.hh>

Classes

class  utility::factory::Registrant< typename >
 Factory registrant. More...
 

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.
 
 utility::factory
 

Detailed Description

Factory registrant.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)
Remarks
  • Registers a concrete product class with its factory when constructed
  • Use Key pointers when keys are globals that may not be constructed yet