title: How to make a variadic macro for std::cout?
body: <p>How would I make a macro that took a variable amount of arguments, and prints its out using std::cout? Sorry if this is a noob question, couldn't find anything that clarified variadic macros after searching around for the answer.</p>
  
  <p>Conceptual Example:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #define LOG(...) std::cout &lt;&lt; ... &lt;&lt; ... &lt;&lt; std::endl
  int main() {
      LOG("example","output","filler","text");
      return 0;
  }
  </code></pre>
  
  <p>would output:</p>
  
  <pre><code>exampleoutputfillertext
  </code></pre>