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.
Section: 27.4.3.2 [string.require] Status: CD1 Submitter: Martin Sebor Opened: 2001-01-27 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [string.require].
View all issues with CD1 status.
Discussion:
The effects clause for the basic_string template ctor in 21.3.1, p15 leaves out the third argument of type Allocator. I believe this to be a mistake.
Proposed resolution:
Replace
-15- Effects: If
InputIterator
is an integral type, equivalent to
basic_string(static_cast<size_type>(begin), static_cast<value_type>(end))
with
-15- Effects: If
InputIterator
is an integral type, equivalent to
basic_string(static_cast<size_type>(begin), static_cast<value_type>(end), a)