Re: [Boost-bugs] [Boost C++ Libraries] #9266: Synchronized_value crashes MSVC12 (VS2013)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9266: Synchronized_value crashes MSVC12 (VS2013)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-13 13:02:41


#9266: Synchronized_value crashes MSVC12 (VS2013)
--------------------------------------+----------------------
  Reporter: mjklaim@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: config
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+----------------------

Comment (by johnmaddock):

 There's a message thread on the lists to the effect that variadic
 templates are not fully supported yet:
 http://lists.boost.org/Archives/boost/2013/09/206389.php so I'm reluctant
 to re-enable them in Boost.Config. Sounds like this is a good case where
 a BOOST_WORKAROUND would be more appropriate in the thread lib?

 BTW am I alone in finding it ironic that the way to work around a compiler
 bug is to enable an only-partially-working new feature? Oh well!

 The change I'm suggesting for synchronized_value.hpp is to change:

 {{{
 #if ! defined BOOST_NO_CXX11_VARIADIC_TEMPLATES
 }}}

 to

 {{{
 #if ! defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) ||
 BOOST_WORKAROUND(BOOST_MSVC, == 1800)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9266#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC