Section: 188.8.131.52 [ostreambuf.iter.cons] Status: TC1 Submitter: Matt Austern Opened: 1998-10-20 Last modified: 2016-01-28 10:19:27 UTC
Priority: Not Prioritized
View all issues with TC1 status.
The requires clause for ostreambuf_iterator's constructor from an ostream_type (184.108.40.206, paragraph 1) reads "s is not null". However, s is a reference, and references can't be null.
In 220.127.116.11 [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.