[Boost-bugs] [Boost C++ Libraries] #10071: [container] flat_map::insert() is ambiguous if used with initializer lists

Subject: [Boost-bugs] [Boost C++ Libraries] #10071: [container] flat_map::insert() is ambiguous if used with initializer lists
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-26 09:43:42


#10071: [container] flat_map::insert() is ambiguous if used with initializer lists
----------------------------------------------+------------------------
 Reporter: Sebastian Karlsson <sebastian@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
----------------------------------------------+------------------------
 boost::container::flat_map< unsigned int, unsigned int > foo;
 foo.insert( { 1u, 1u } );

 Doesn't fly, since it can either convert to std::pair<> or
 boost::container_detail::pair<>.

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