[PATCH] D26007: [libc++] Cleanup non-portable std::any tests

Casey Carter via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 12:54:11 PDT 2016


CaseyCarter added inline comments.


================
Comment at: test/libcxx/utilities/any/any.class/any.cons/value.pass.cpp:36
+    using DecayTag = std::decay_t<BadTag>;
+    static_assert(!std::is_constructible<std::any, DecayTag>::value, "");
+}
----------------
I'm generously calling this a "libc++ extension." From my interpretation of N4606, LWG2744, and LWG2754, this appears to be a bug.


Repository:
  rL LLVM

https://reviews.llvm.org/D26007





More information about the cfe-commits mailing list