Boost logo

Boost :

Subject: [boost] [config] msvc-11 and BOOST_NO_CXX11_DECLTYPE_N3276
From: Eric Niebler (eric_at_[hidden])
Date: 2012-09-23 16:25:20


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-fails-in-recursive-function-object-scenario#details

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

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