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

Piotr Fusik via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 27 10:56:23 PDT 2023


pfusik added a comment.

Thanks!

How do I run C++03 tests locally?



================
Comment at: libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/str.pass.cpp:14
 
 // void str(const basic_string<charT,traits,Allocator>& s);
 
----------------
Mordante wrote:
> Please create a new test for the view (can be a copy past of this file) and update the synopsis here.
> 
> That test will need an `// UNSUPPORTED: c++03, c++11, c++14, c++17` line since it is C++20 only.
That would be four tests copied. Why not `#if` ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148641



More information about the libcxx-commits mailing list