[config] msvc-11 and BOOST_NO_CXX11_DECLTYPE_N3276

Houston, we have a problem.... I've been grappling with a regression in proto due to the use of decltype in boost::result_of on msvc-11. I've concluded that msvc's support for N3276 is just not up to the task. The details are in the following bug report: https://connect.microsoft.com/VisualStudio/feedback/details/764260/decltype-... I haven't found a workaround. I'm worried about downstream breakage when 1.52 is released. My suggestion: define BOOST_NO_CXX11_DECLTYPE_N3276 for msvc-11 and live with TR1 result_of for a bit longer. <sigh> -- Eric Niebler BoostPro Computing http://www.boostpro.com

On Sep 23, 2012, at 4:25 PM, Eric Niebler wrote:
Houston, we have a problem....
I've been grappling with a regression in proto due to the use of decltype in boost::result_of on msvc-11. I've concluded that msvc's support for N3276 is just not up to the task. The details are in the following bug report:
https://connect.microsoft.com/VisualStudio/feedback/details/764260/decltype-...
I haven't found a workaround. I'm worried about downstream breakage when 1.52 is released. My suggestion: define BOOST_NO_CXX11_DECLTYPE_N3276 for msvc-11 and live with TR1 result_of for a bit longer. <sigh>
Well, that's disappointing. But at least now we're better prepared than we were a month ago. Now we just have to wait for them work out the kinks. - Daniel

Eric Niebler wrote:
My suggestion: define BOOST_NO_CXX11_DECLTYPE_N3276 for msvc-11 and live with TR1 result_of for a bit longer. <sigh>
I reverted [80453] in https://svn.boost.org/trac/boost/changeset/80690 . Regards, Michel
participants (3)
-
Daniel Walker
-
Eric Niebler
-
Michel Morin