[libcxx-commits] [PATCH] D96523: [libc++] Rewrite the tuple constructors to be strictly Standards conforming
Yuanfang Chen via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 9 16:12:10 PST 2021
ychen added inline comments.
================
Comment at: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp:52
+ std::tuple<Explicit> bar(std::move(d)); ((void)bar);
+#if TEST_STD_VER < 17
+ assert(count == 1);
----------------
EricWF wrote:
> What's going on here? Why are there different answers depending on the dialect?
Yeah, I'm curious too. GCC/libstdc++ seems to have the same behavior.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96523/new/
https://reviews.llvm.org/D96523
More information about the libcxx-commits
mailing list