[Boost-bugs] [Boost C++ Libraries] #9540: std.test: ambiguity std::pair vs. std::tuple

Subject: [Boost-bugs] [Boost C++ Libraries] #9540: std.test: ambiguity std::pair vs. std::tuple
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-01 17:23:10


#9540: std.test: ambiguity std::pair vs. std::tuple
------------------------------+---------------------
 Reporter: dani@… | Owner: nesotto
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: assign
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 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'
 }}}

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