This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Fix ostream insertion iterator so that it returns an lvalue. Fixes PR20596
AbandonedPublic

Authored by EricWF on Aug 8 2014, 7:24 PM.

Details

Summary

This patch fixes ostreams operator<< so that it properly returns an lvalue reference.
It also forces the input and return type to be basic_ostream. This is inline with the standard.

It appears as though http://cplusplus.github.io/LWG/lwg-closed.html#1203 was implemented even though it was never accepted (and is now closed).

Diff Detail

Event Timeline

EricWF updated this revision to Diff 12323.Aug 8 2014, 7:24 PM
EricWF retitled this revision from to [libcxx] Fix ostream insertion iterator so that it returns an lvalue. Fixes PR20596.
EricWF updated this object.
EricWF edited the test plan for this revision. (Show Details)
EricWF added reviewers: mclow.lists, danalbert.
EricWF added a subscriber: Unknown Object (MLST).
EricWF abandoned this revision.Aug 9 2014, 1:16 AM

Abandoning. Wrong direction entirely. Sorry.