Title
basic_string size_type and difference_type should be implementation defined
Status
nad
Section
[basic.string]
Submitter
Beman Dawes

Created on 1997-11-16.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Not a defect. [Originally classified as a defect, later reclassified.] basic_string, unlike the other standard library template containers, is severely constrained by its use of char_traits. Those types are dictated by the traits class, and are far from implementation defined.

Date: 1997-11-16.00:00:00

In Morristown we changed the size_type and difference_type typedefs for all the other containers to implementation defined with a reference to [container.requirements]. This should probably also have been done for strings.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg11
1997-11-16 00:00:00admincreate