
Gennaro Prota <gennaro_prota@yahoo.com> writes:
On Wed, 14 Jun 2006 14:10:21 -0500, Rene Rivera <grafik.list@redshift-software.com> wrote:
In one of the previous discussions Dave mentioned that optimizing the BOOST_WORKAROUND macro to be more terse. For example:
#if BOOST_WORKAROUND(BOOST_CXX_COMO,==,?,?,?) &&\ BOOST_WORKAROUND(BOOST_CXX_MSVC,==,?,?,?)
Or something like that :-) But that would be work to do after the core config changes are done.
Nice :) I'm inclined to go directly for that (actually the commas could be eliminated as well, but that would require some preprocessing magic which we already preferred not to have when deciding the first implementation of BOOST_WORKAROUND(); see, for instance
I don't see that conclusion there, but I have to say that I don't think whitespace is particularly better than commas here. -- Dave Abrahams Boost Consulting www.boost-consulting.com