AstraLog-HPC
Loading...
Searching...
No Matches
GenericFactory Namespace Reference

Classes

class  Factory
 A generic object factory. More...
 

Typedefs

template<typename Identifier , typename FunType >
using FunctionFactory = Factory< void, Identifier, FunType >
 

Typedef Documentation

◆ FunctionFactory

template<typename Identifier , typename FunType >
using GenericFactory::FunctionFactory = typedef Factory<void, Identifier, FunType>

This template alias may be used to store functions: the builder is here the function type and get returns a FunType object

Note
In this version you cannot use the method create()
Todo:
use enable_if to eliminate the method create() when AbstractProduct=void