|
Boost : |
Subject: Re: [boost] C++0x and MSVC 10
From: strasser_at_[hidden]
Date: 2010-02-16 09:36:20
Zitat von "vicente.botet" <vicente.botet_at_[hidden]>:
> BTW, is there a macro to know if the compiler supports macros with
> variable arguments? Something like
> BOOST_NO_VARIADIC_MACROS
if you are going to add one, you might also want to add a macro for
detecting the following MSVC bug, as it affects a lot of use cases, I
think, including yours. the sample code I sent you off-list doesn't
seem to work on MSVC because of this bug.
not sure if there is a workaround.
http://connect.microsoft.com/VisualStudio/feedback/details/380090/variadic-macro-replacement#details
MS doesn't seem too interested in fixing it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk