This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
begin(n)
mistakenly const
Section: 23.5 [unord] Status: CD1 Submitter: Robert Klarer Opened: 2008-06-12 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [unord].
View all issues with CD1 status.
Discussion:
In 3 of the four unordered containers the local begin
member is mistakenly declared const
:
local_iterator begin(size_type n) const;
Proposed resolution:
Change the synopsis in 23.5.3 [unord.map], 23.5.4 [unord.multimap], and 23.5.7 [unord.multiset]:
local_iterator begin(size_type n)const;