title: Creating a string list and an enum list from a C++ macro
body: <p>In order to make my code shorter and easier to change I want to replace something like</p>
  
  <pre><code>enum{ E_AAA, E_BBB, E_CCC };
  static const char *strings{"AAA", "BBB", "CCC" };
  </code></pre>
  
  <p>With a macro, like INIT(AAA, BBB, CCC); but when I try doing a macro with variable arguments, and stringification I get an error as the arguments are not declared. </p>
  
  <p>Any idea on how to do this?</p>