[libcxx-commits] [PATCH] D148641: [libc++] Add C++20 stringstream::view()
Piotr Fusik via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 28 10:44:27 PDT 2023
pfusik added a comment.
Is the failed build my fault?
================
Comment at: libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/view.pass.cpp:23
+
+static std::string_view get_view(const std::istringstream& ss) noexcept { return ss.view(); }
+
----------------
Mordante wrote:
> Why did you add this helper function?
To test `const noexcept`. I did not know `static_assert(noexcept(...))`.
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