Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Sequences vs. All Other Data Structures
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2012-04-27 00:17:37


[Paul Mensonides]
> The best case scenario, if you want to support legacy mode:
> compiler switch to *disable* a compliant preprocessor. I.e. do the right
> thing _by default_ (just like with for-loop scoping).

Yeah, you're right. I take back what I said about pragmas, I see that they would be especially unworkable for macros.

> wanton macro abuse

I was inured to defending against macroized min/max, but we recently discovered that Yield was macroized too - fun.

STL


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk