Opened 7 years ago

Closed 7 years ago

#12014 closed Bugs (fixed)

boost::container::set can not insert const (ref) range

Reported by: Han <wanghan02@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.60.0 Severity: Problem
Keywords: boost::container::set Cc:

Description

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".

Change History (1)

comment:1 by Ion Gaztañaga, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.