Title
basic_iostream missing typedefs
Status
cd1
Section
[iostreamclass]
Submitter
Martin Sebor

Created on 2000-11-02.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

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

  // 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;
Date: 2000-11-02.00:00:00

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

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2069
2000-11-02 00:00:00admincreate