[Boost-bugs] [Boost C++ Libraries] #12014: boost::container::set can not insert const (ref) range

Subject: [Boost-bugs] [Boost C++ Libraries] #12014: boost::container::set can not insert const (ref) range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-23 08:37:29


#12014: boost::container::set can not insert const (ref) range
-----------------------------------+------------------------
 Reporter: Han <wanghan02@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: boost::container::set |
-----------------------------------+------------------------
 Let's say we have some simple code here.

         boost::container::set<int> s;
         boost::container::set<int> const sp;
         s.insert(boost::begin(sp), boost::end(sp));

 This insert call will cause "ambiguous call to overloaded function".

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