Convert a constraint from a Boost.Variant to an adequate constraint type depending on the problem's constraints type. More...
#include <roboptim/core/detail/utility.hh>
Public Member Functions | |
template<typename U > | |
P::constraint_t | operator() (const U &c) const |
Convert a constraint from a Boost.Variant to an adequate constraint type depending on the problem's constraints type.
P | problem type. |
|
inline |