vdj_pipe
pipeline for processing DNA sequence data
comparison_operators_macro.hpp
Go to the documentation of this file.
1 
7 #ifndef COMPARISON_OPERATORS_MACRO_HPP_
8 #define COMPARISON_OPERATORS_MACRO_HPP_
9 
10 #define VDJ_PIPE_COMPARISON_OPERATOR_MEMBERS(name) \
11  bool operator!=(name const& x) const { \
12  return !( *this == x ); \
13  } \
14  bool operator>(name const& x) const { \
15  return x < *this; \
16  } \
17  bool operator<=(name const& x) const { \
18  return !( x < *this ); \
19  } \
20  bool operator>=(name const& x) const { \
21  return !( *this < x ); \
22  } \
23 /* */
24 
25 #endif /* COMPARISON_OPERATORS_MACRO_HPP_ */