Post #1981524
2026-05-04 16:50 UTC
@Steel_Virgin @typeswitch fwiw, if you have clangd set up in your editing environment, and if you place the cursor on an invocation of a macro, the editor should give you the option of replacing the invocation with the result of expansion (where, to follow the example above, there would be no instances of x##y, and you would instead see instances of 'fooy' or 'foobar').
it's great; i use it wherever i see an invocation of a new-to-me macro, and it makes the code intelligible way more quickly.
Replies (0)
No replies.