title: One line debug macro
body: <p>I'd like to create a C++ macro function to debug, and I'd like it to work like this:</p>
  
  <pre><code>int main(){
      int a = 3, b = 5, c = 7;
      string s = "&lt;";
  
      print(a,s,b);
      print(a,s,b,s,c);
  }
  
  OUTPUT:
  3 &lt; 5
  3 &lt; 5 &lt; 7
  </code></pre>
  
  <p>I've read a lot about variadic macros but anything I tried to code wouldnt work at all. </p>
  
  <p>I thought about using lambda but didn't come up with algorithm to do it.</p>
  
  <p>I need it like 1 line of code, cos it's just for debugging and more than that I could create a more complex function, but I guess this must be possible...</p>