title: C++ multiple sets of parameters with their own parentheses on function call?
body: <p>I've been coding in C/C++ for a while and I'm using the <a href="https://github.com/jarro2783/cxxopts" rel="nofollow noreferrer">https://github.com/jarro2783/cxxopts</a> library. The library uses the <em>add_options()</em> function to grab it's configuration, like this:</p>
  
  <pre><code>options.add_options() ("option1", "Description1") ("option2", "Description2");
  </code></pre>
  
  <p>And you can add an arbitrary number of options.</p>
  
  <p>It came as a surprise that this is valid C/C++ and works; I have never seen something like that.</p>
  
  <p>How are they doing it? Is there a name for this syntax?</p>