Lumiera
0.pre.03
»edit your freedom«
|
While generally speaking the MultiFact allows us to address and invoke several "production lines" by ID, an obvious use case would be to access a "family" of singletons through this mechanism. And indeed, MultiFact::Singleton
is a preconfigured shortcut for this use case. The actual singleton access factories are placed into a static context (here in the anonymous namespace above) and their access operation is wired as "factory function".
Definition at line 103 of file multifact-singleton-test.cpp.
Private Member Functions | |
void | run (Arg) |