Just came across an interesting use of preprocessor
#defines in one of Apple’s Grand Central Dispatch headers:
If you look at
dispatch/dispatch.h, you’ll see the following:
Seems like a good way to manage complex multi-file compile-time dependencies. I’m sure there are lots of other cool preprocessor use cases hiding in these headers, too.