Drake
is_cost_functor_candidate< F > Struct Template Reference

Template condition to check if F is a candidate to be used to construct a FunctionCost object for generic costs. More...

#include <drake/solvers/create_cost.h>

Inheritance diagram for is_cost_functor_candidate< F >:
[legend]
Collaboration diagram for is_cost_functor_candidate< F >:
[legend]

Detailed Description

template<typename F>
struct drake::solvers::detail::is_cost_functor_candidate< F >

Template condition to check if F is a candidate to be used to construct a FunctionCost object for generic costs.

Template Parameters
TThe type to be tested.
Note
Constraint is used to ensure that we do not preclude cost objects that lost their CostShim type somewhere in the process.

The documentation for this struct was generated from the following file: