All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::detail::ConvertConstraintVariant< P > Struct Template Reference

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>

Inheritance diagram for roboptim::detail::ConvertConstraintVariant< P >:

Public Member Functions

template<typename U >
P::constraint_t operator() (const U &c) const
 

Detailed Description

template<typename P>
struct roboptim::detail::ConvertConstraintVariant< P >

Convert a constraint from a Boost.Variant to an adequate constraint type depending on the problem's constraints type.

Template Parameters
Pproblem type.

Member Function Documentation

template<typename P >
template<typename U >
P::constraint_t roboptim::detail::ConvertConstraintVariant< P >::operator() ( const U &  c) const
inline