Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.

170. Inconsistent definition oftraits_type

Section: 31.8.5[stringstream]Status:TC1Submitter: Dietmar KühlOpened: 1999-07-20Last modified: 2016-01-28

Priority:Not Prioritized

View all issues withTC1 status.

Discussion:

The classesbasic_stringstream (31.8.5[stringstream]),basic_istringstream (31.8.3[istringstream]), andbasic_ostringstream (31.8.4[ostringstream]) are inconsistentin their definition of the typetraits_type: Foristringstream, this type is defined, for the other two it isnot. This should be consistent.

Proposed resolution:

Proposed resolution:

To the declarations ofbasic_ostringstream (31.8.4[ostringstream]) andbasic_stringstream (31.8.5[stringstream]) add:

typedef traits traits_type;

[8]ページ先頭

©2009-2026 Movatter.jp