[PATCH] D57626: Disallow trivial_abi on a class if all copy and move constructors are deleted

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 4 11:55:19 PST 2019


rjmccall added a comment.

Richard felt that this was an odd special case, and I was happy to use the old language-designer's dodge of banning something today so that we can decide to allow it tomorrow.  This isn't SFINAE-able.

...of course, if it's just a *warning* that this isn't allowed, that dodge doesn't quite work.


Repository:
  rC Clang

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

https://reviews.llvm.org/D57626





More information about the cfe-commits mailing list