16 #ifndef ACSDKMANUFACTORY_FACTORYSEQUENCER_H_ 17 #define ACSDKMANUFACTORY_FACTORYSEQUENCER_H_ 22 namespace acsdkManufactory {
24 template <
typename...>
38 template <
typename ResultType,
typename... PrecursorTypes>
48 template <
typename... ParameterTypes>
49 static std::function<ResultType(ParameterTypes..., PrecursorTypes...)>
get(
50 ResultType (*factory)(ParameterTypes...));
53 template <
typename ResultType,
typename... PrecursorTypes>
54 template <
typename... ParameterTypes>
56 get(ResultType (*factory)(ParameterTypes...)) {
57 return [factory](ParameterTypes... parameters, PrecursorTypes...) {
return factory(
std::move(parameters...)); };
63 #endif // ACSDKMANUFACTORY_FACTORYSEQUENCER_H_ Definition: FactorySequencer.h:25
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
const T & move(const T &t)
Definition: gtest-port.h:1317