This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TC1 status.
Section: 22.214.171.124 [ostreambuf.iter.cons] Status: TC1 Submitter: Matt Austern Opened: 1998-10-20 Last modified: 2016-02-10
Priority: Not Prioritized
View all issues with TC1 status.
The requires clause for ostreambuf_iterator's constructor from an ostream_type (126.96.36.199, paragraph 1) reads "s is not null". However, s is a reference, and references can't be null.
In 188.8.131.52 [ostreambuf.iter.cons]:
Move the current paragraph 1, which reads "Requires: s is not null.", from the first constructor to the second constructor.
Insert a new paragraph 1 Requires clause for the first constructor reading:
Requires: s.rdbuf() is not null.