[libcxx-commits] [PATCH] D91292: [libc++] [P0935] [C++20] Eradicating unnecessarily explicit default constructors from the standard library.
Marek Kurdej via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 2 00:15:05 PST 2020
curdeius added inline comments.
================
Comment at: libcxx/test/support/make_implicit.h:25
+T make_implicit(Args&&... args) {
+ return {std::forward<Args>(args)...};
+}
----------------
ldionne wrote:
> C++11 is required only because you're using a brace initializer, right? Clang supports variadics and rvalue references even in C++03 mode, so I'm just checking.
Brace initializer, rvalue references and variadics, also `std::forward` but that could be just a `static_cast`. I can make it work for C++03 then.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91292/new/
https://reviews.llvm.org/D91292
More information about the libcxx-commits
mailing list