logoalt Hacker News

enriquto10/11/20241 replyview on HN

This is a neat hack, and very well written. I felt a bit of nostalgia looking at the (classical) cpp flex to avoid repeating an identifier

   #define X(s) #s
   #define S(s) X(s)

Replies

shawnz10/11/2024

For the unfamiliar, what does this pattern do exactly?

show 3 replies