Movatterモバイル変換


[0]ホーム

URL:



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

271. basic_iostream missing typedefs

Section: 31.7.5.7[iostreamclass]Status:CD1Submitter: Martin SeborOpened: 2000-11-02Last modified: 2016-01-28

Priority:Not Prioritized

View all issues withCD1 status.

Discussion:

Class template basic_iostream has no typedefs. The typedefs itinherits from its base classes can't be used, since (for example)basic_iostream<T>::traits_type is ambiguous.

Proposed resolution:

Add the following to basic_iostream's class synopsis in 31.7.5.7[iostreamclass], immediately afterpublic:

  // types:  typedef charT                     char_type;  typedef typename traits::int_type int_type;  typedef typename traits::pos_type pos_type;  typedef typename traits::off_type off_type;  typedef traits                    traits_type;

[8]ページ先頭

©2009-2026 Movatter.jp