[PATCH] D86126: Fix issue 47160: "`llvm::is_trivially_copyable` -- static assertion failure after DR 1734"

Nicole Mazzuca via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 09:29:03 PDT 2020


strega-nil marked an inline comment as done.
strega-nil added inline comments.


================
Comment at: llvm/include/llvm/Support/type_traits.h:161
+// whereas `std::is_trivially_copyable` checks for:
+//   all of T's copy constructors, move constructors,
+//   copy assignment operators, and move assignment operators are
----------------
CaseyCarter wrote:
> Since C++20 (Specifically P0848R3) "all of T's _eligible_ copy constructors, move constructors, ..." would be more precise. I acknowledge this may be more precision than you are interested in =)
Yeah, that's my thought :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86126



More information about the llvm-commits mailing list