14 template <
typename... Args,
typename ReturnType>
16 -> std::function<ReturnType(Args...)> {
25 template <
typename... Args,
typename ReturnType,
typename ClassType>
27 -> std::function<ReturnType(ClassType&, Args...)> {
28 return {std::mem_fn(p)};
36 template <
typename... Args,
typename ReturnType,
typename ClassType>
38 -> std::function<ReturnType(
const ClassType&, Args...)> {
39 return {std::mem_fn(p)};
NOTE: The contents of this class are for the most part direct ports of drake/systems/plants//inverseK...
Definition: Function.h:14
auto make_function(ReturnType(*p)(Args...)) -> std::function< ReturnType(Args...)>
make_function Note that a completely general make_function implementation is not possible due to ambi...
Definition: makeFunction.h:15