[libcxx-commits] [PATCH] D144645: [libc++] Implement LWG-3655: The INVOKE operation and union types.
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 27 02:38:26 PDT 2023
philnik added inline comments.
================
Comment at: libcxx/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp:366
+static_assert(std::is_invocable_v<void (Union::*)() const, const Union>);
+static_assert(std::is_invocable_v<void (Union::*)() const, const Union&>);
+
----------------
Could you also add runtime tests for this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144645/new/
https://reviews.llvm.org/D144645
More information about the libcxx-commits
mailing list