Section: 220.127.116.11 [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 (18.104.22.168, paragraph 1) reads "s is not null". However, s is a reference, and references can't be null.
In 22.214.171.124 [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.