Get the constraint type of CLIST that best match C. More...
#include <roboptim/core/detail/utility.hh>
Public Types | |
typedef fold< CLIST, void, if_ < is_base_of< boost::mpl::_2, C >, mpl::if_< is_void < boost::mpl::_1 > , boost::mpl::_2, detail::get_descendant < boost::mpl::_1, boost::mpl::_2 > >, boost::mpl::_1 > >::type | type |
Get the constraint type of CLIST that best match C.
C | constraint type. |
CLIST | a vector of constraint types. |
typedef fold<CLIST, void, if_<is_base_of<boost::mpl::_2, C>, mpl::if_<is_void<boost::mpl::_1>, boost::mpl::_2, detail::get_descendant<boost::mpl::_1, boost::mpl::_2> >, boost::mpl::_1> >::type roboptim::detail::cast_constraint_type< C, CLIST >::type |