title: C++ macro with a variable number of arguments
body: <p>I would like to know how can I create a c++ macro that would make an or between a given number of arguments, something like</p>
  
  <pre><code>#define aMacro(arg1,arg2,arg3,arg4) arg1==arg2 || arg1==arg3 || arg1==arg4
  </code></pre>
  
  <p>But with a varible number of arguments.</p>
  
  <p>I know about varadic macros, I know they exist and I know there are some questions about it on SO but as far as I know none of them addresses my question on how to do the || part.</p>
  
  <p>Thank you</p>