Classes | Namespaces | Macros | Functions
comparison-operators.hpp File Reference

Go to the source code of this file.

Classes

struct  pinocchio::apply_op_if< OP, condition, default_return_value >
 
struct  pinocchio::apply_op_if< OP, true, default_return_value >
 

Namespaces

 pinocchio
 Main pinocchio namespace.
 

Macros

#define PINOCCHIO_DEFINE_COMPARISON_OP(name, OP)
 

Functions

 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (equal_to_op,==)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (not_equal_to_op,!=)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (less_than_op,<)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (greater_than_op,>)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (less_than_or_equal_to_op,<=)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (greater_than_or_equal_to_op,>=)
 

Macro Definition Documentation

◆ PINOCCHIO_DEFINE_COMPARISON_OP

#define PINOCCHIO_DEFINE_COMPARISON_OP (   name,
  OP 
)
Value:
struct name \
{ \
template<typename T1, typename T2> \
static bool call(const T1 & a, const T2 & b) \
{ return a OP b;} \
}
Vec3f b
Vec3f a
auto call(R(*f)(Args...), typename convert_type< Args >::type... args)
Definition: pybind11.hpp:118

Definition at line 11 of file comparison-operators.hpp.



pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:33