EricWF 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, "");
+}
----------------
CaseyCarter wrote:
> I'm generously calling this a "libc++ extension." From my interpretation of 
> N4606, LWG2744, and LWG2754, this appears to be a bug.
I agree. I want this to be a diagnostic of some sort. Preferably a static 
warning because if you've managed to decay the tags your in for a treat.


Repository:
  rL LLVM

https://reviews.llvm.org/D26007



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to