5 #ifndef __pinocchio_python_utils_comparable_hpp__
6 #define __pinocchio_python_utils_comparable_hpp__
8 #include <boost/python.hpp>
20 template<
class C,
bool has_comparison_operators = true>
22 :
public bp::def_visitor<ComparableVisitor<C, has_comparison_operators>>
24 template<
class PyClass>
27 cl.def(bp::self == bp::self).def(bp::self != bp::self);
34 template<
class PyClass>
42 #endif // ifndef __pinocchio_python_utils_comparable_hpp__