Factory1Static1Arg< Base, S1, s1, A1 > Struct Template Reference
This class produces objects based on a constant specified as a template parameter and a constructor argument.
More...
#include <Factories.h>
Detailed Description
template<class Base, class S1, S1 s1, class A1>
struct Factory1Static1Arg< Base, S1, s1, A1 >
This class produces objects based on a constant specified as a template parameter and a constructor argument.
You could also implement this by adding a member field to the factory and passing that to the target constuctor instead of the non-type template parameter (which has some restrictions). See Factory0Arg1Member for an example how this is done.
Definition at line 128 of file Factories.h.
List of all members.
Classes |
struct | Factory |
| concrete class for constructing products of a specified subtype of Base More...
|
The documentation for this struct was generated from the following file: