[Boost-bugs] [Boost C++ Libraries] #6023: Problem with tuples when using Visual Studio 2010 with _HAS_CPP0X=0

Subject: [Boost-bugs] [Boost C++ Libraries] #6023: Problem with tuples when using Visual Studio 2010 with _HAS_CPP0X=0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-13 19:31:36


#6023: Problem with tuples when using Visual Studio 2010 with _HAS_CPP0X=0
-----------------------------------------------------------+----------------
 Reporter: Etienne Monette <etienne.monette@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------------+----------------
 When doing so, you get this error:

 C:\extras_vc10\include\boost/math/tools/tuple.hpp(18) : error C2039:
 'tuple' : is not a member of 'std'

 There is a problem with this header: boost/config/stdlib/dinkumware.hpp.
 It tests _HAS_TR1_IMPORTS only not to be defined, but in fact, it may be
 defined with value 0 and have the same effect: tr1::tuple will not be
 injected in std namespace.

 I attached a fix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6023>
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:07 UTC