A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue757 below:

Typo in the synopsis of vector

This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.

757. Typo in the synopsis of vector

Section: 23.3.13 [vector] Status: NAD Editorial Submitter: Paolo Carlini Opened: 2007-11-04 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [vector].

View all issues with NAD Editorial status.

Discussion:

In the synopsis 23.3.13 [vector], there is the signature:

void insert(const_iterator position, size_type n, T&& x);

instead of:

iterator insert(const_iterator position, T&& x);

23.3.13.5 [vector.modifiers] is fine.

Proposed resolution:

Change the synopsis in 23.3.13 [vector]:

iterator insert(const_iterator position, const T& x); 
iterator insert(const_iterator position, T&& x);
void     insert(const_iterator position, size_type n, const T& x); 
void     insert(const_iterator position, size_type n, T&& x);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4