Get the constraint type of CLIST that best match C. More...
#include <roboptim/core/detail/utility.hh>
Public Types | |
typedef boost::mpl::fold < CLIST, void, boost::mpl::if_ < boost::is_base_of < boost::mpl::_2, C > , boost::mpl::if_ < boost::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 boost::mpl::fold<CLIST, void, boost::mpl::if_<boost::is_base_of<boost::mpl::_2, C>, boost::mpl::if_<boost::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 |