Re:My Favorite C++ Pattern: X Macros (2023)
by wat10000 on Tuesday March 25, 2025 @10:00PM
(#43478084)
The preprocessor is part of C++.
I agree that you can go too far with it and it becomes better to do it a different way, but the X-macros technique is straightforward and easy to understand.
I agree that you can go too far with it and it becomes better to do it a different way, but the X-macros technique is straightforward and easy to understand.