[PATCH] D78795: [Support] Add raw_ostream_iterator: ostream_iterator for raw_ostream.

Nicolas Guillemot via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 23:57:35 PDT 2020


nlguillemot updated this revision to Diff 259817.
nlguillemot added a comment.

Some example code and the commit message were showing an example of printing a `vector<double>`. It turns out that doubles don't print so beautifully by default, so switch the example to use `int` instead to avoid being misleading.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78795/new/

https://reviews.llvm.org/D78795

Files:
  llvm/include/llvm/Support/raw_ostream.h
  llvm/unittests/Support/raw_ostream_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78795.259817.patch
Type: text/x-patch
Size: 3745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200424/6515f5b9/attachment.bin>


More information about the llvm-commits mailing list