Convert a constraint to a proper type. More...
#include <roboptim/core/detail/utility.hh>
Public Member Functions | |
template<typename C > | |
boost::shared_ptr< typename cast_constraint_type< C, CLIST > ::type > | operator() (const boost::shared_ptr< C > &c) const |
Convert a constraint to a proper type.
CLIST | a vector of valid constraint types. |
boost::shared_ptr<typename cast_constraint_type<C, CLIST>::type> roboptim::detail::ConvertConstraint< CLIST >::operator() | ( | const boost::shared_ptr< C > & | c | ) | const [inline] |