Created on 1999-03-06.00:00:00 last changed 171 months ago
Rationale:
The LWG agreed that the init() function is called twice, but said that this is harmless and so not a defect in the standard.
Proposed resolution:
Change 27.6.1.5.1, paragraph 1 to:
-1- Effects Constructs an object of class basic_iostream, assigning initial values to the base classes by calling basic_istream<charT,traits>(sb) (lib.istream).
-1- Effects Constructs an object of class basic_iostream, assigning initial values to the base classes by calling basic_istream<charT,traits>(sb) (lib.istream) and basic_ostream<charT,traits>(sb) (lib.ostream)
The called for basic_istream and basic_ostream constructors call init(sb). This means that the basic_iostream's virtual base class is initialized twice.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg1646 |
2010-10-21 18:28:33 | admin | set | messages: + msg1645 |
1999-03-06 00:00:00 | admin | create |