2 comments

  • teo_zero56 minutes ago
    There are a couple of constructs that you end up re-creating as soon as you need non-trivial preprocessing.<p>One of those is the two-stage CAT, another one is the NARG the article talks about.<p>__COUNTER__ is going to be added to C29, the next version of the standard, maybe there&#x27;s hope for __VA_COUNT__ and __CAT__ too!
  • pajko1 day ago
    You don&#x27;t need to extend the preprocessor to have MAP: <a href="https:&#x2F;&#x2F;github.com&#x2F;swansontec&#x2F;map-macro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;swansontec&#x2F;map-macro</a>
    • david2ndaccount17 hours ago
      The article shows how to implement map, but it should be a builtin