Title
basic_string template ctor effects clause omits allocator argument
Status
cd1
Section
[string.require]
Submitter
Martin Sebor

Created on 2001-01-27.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

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)

Date: 2001-01-27.00:00:00

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.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2169
2001-01-27 00:00:00admincreate