[PATCH] D11553: [libcxx] Rewrite C++03 __invoke.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 12:55:03 PDT 2015


mclow.lists added inline comments.

================
Comment at: include/__functional_base:521
@@ +520,3 @@
+    operator() (_ArgTypes&&... __args) const {
+        return __invoke(get(), _VSTD::forward<_ArgTypes>(__args)...);
+    }
----------------
I know you didn't change this, but how did we get away with an `&&` w/o a `#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES` ?



http://reviews.llvm.org/D11553





More information about the cfe-commits mailing list