|
|
using | return_type = typename FunctionInfo< CreateFun >::return_type |
| |
|
|
template<typename... CreateArgs> |
| return_type | on_unknown_key (const Key &, CreateArgs &&...) const |
| |
template<typename Key, typename CreateFun>
struct Dakota::Util::DefaultGenericFactoryErrorPolicy< Key, CreateFun >
The default error policy for GenericFactory. This error policy will return a default-constructed value of the same type as the CreateFun's return type in the case of error.
- Template Parameters
-
| Key | the lookup key; any hashable type is allowed |
| CreateFun | the type of function for creating factory items |
The documentation for this struct was generated from the following file: