Opened 11 years ago
Closed 11 years ago
#6023 closed Bugs (fixed)
Problem with tuples when using Visual Studio 2010 with _HAS_CPP0X=0
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (2)
by , 11 years ago
Attachment: | boost_config_stdlib_dinkumware.hpp.patch added |
---|
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [76134]) Fix how _HAS_TR1_IMPORTS is tested. Fixes #6023.