[libcxx-commits] [PATCH] D148641: [libc++] Add C++20 stringstream::view()

Piotr Fusik via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 19 00:42:25 PDT 2023


pfusik updated this revision to Diff 514848.
pfusik added a comment.

Remove `#include <string_view>`.
Use the `string_view` constructor with two pointers.


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

https://reviews.llvm.org/D148641

Files:
  libcxx/include/sstream
  libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp
  libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.pass.cpp
  libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp
  libcxx/test/std/input.output/string.streams/stringstream.members/str.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148641.514848.patch
Type: text/x-patch
Size: 9782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230419/4dd74595/attachment-0001.bin>


More information about the libcxx-commits mailing list