Mirror reflection library 0.5.13
|
Classes | |
class | mirror::factory< Manufacturer, Suppliers, Enumerator, SourceTraits, Product > |
Class template for generation of object factories. More... | |
struct | mirror::factory_maker< Manufacturer, Suppliers, Enumerator, SourceTraits > |
Helper class for more convenient instantiation of the factory template. More... | |
struct | mirror::default_fact_suppliers< Product, Unused > |
The factory generator utility allows to easily create implementations of object factories. Factories are objects which can create instances of various types (Products
) by gathering the parameters necessary for the construction in an application-defined way, they pick or let the user pick the most appropriate constructor and use the Product
's constructor to create the instance. More on the principles and the usage of the factory generator can be found here.