[libcxx-commits] [PATCH] D74292: [libcxx] adds [concept.derived]

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 8 22:40:08 PDT 2020


cjdb added inline comments.


================
Comment at: libcxx/test/std/concepts/lang/derived_from.pass.cpp:43
+
+      static_assert(!std::derived_from<From*, To&&>);
+      static_assert(!std::derived_from<From*, const To&&>);
----------------
I'm not sure if the rvalue-reference checks are necessary, or if `static_assert(!std::derived_from<From*, To>)` covers this.
CC @CaseyCarter 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74292/new/

https://reviews.llvm.org/D74292





More information about the libcxx-commits mailing list