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.

### 852. unordered containers `begin(n)` mistakenly `const`

Section: 22.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 22.5.4 [unord.map], 22.5.5 [unord.multimap], and 22.5.7 [unord.multiset]:

>     local_iterator begin(size_type n) const;