Opened 9 years ago
Closed 4 years ago
#9540 closed Bugs (fixed)
std.test: ambiguity std::pair vs. std::tuple
| Reported by: | Owned by: | James E. King, III | |
|---|---|---|---|
| Milestone: | Boost 1.69 | Component: | assign |
| Version: | Boost 1.55.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Seen with multiple compilers which support C++11's newly introduced std::tuple. Rather than pulling just the required entities from namespace 'std', the full namespace is pulled in instead.
For example, vc11 fails like this:
std.cpp
std.cpp(154) : error C2872: 'tuple' : ambiguous symbol
could be 'std.cpp(78) : std::pair<_Ty1,_Ty2> tuple'
with
[
_Ty1=std::string,
_Ty2=int
]
or 'VC\INCLUDE\utility(73) : std::tuple'
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 4 years ago
| Owner: | changed from to |
|---|
comment:3 by , 4 years ago
| Status: | new → assigned |
|---|
comment:4 by , 4 years ago
https://github.com/boostorg/assign/pull/21
The source repo/branch in PR #2 is no longer available.
comment:5 by , 4 years ago
| Milestone: | To Be Determined → Boost 1.69 |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Proposed fix: pull request https://github.com/boostorg/assign/pull/2