[libcxx-commits] [PATCH] D62618: [libcxx] Make std::tuple<> trivially constructible

Duncan P. N. Exon Smith via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 29 13:34:00 PDT 2019


dexonsmith added a comment.

In D62618#1521964 <https://reviews.llvm.org/D62618#1521964>, @EricWF wrote:

> Changing the triviality of a type can be ABI breaking because it will change the calling conventions the compiler uses.
>  We have hacks in pair to keep it non-trivial on some platforms for this reason.


Right, I think we at least need a macro to choose the ABI so that (a) vendors can pick a default and (b) users can override it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62618





More information about the libcxx-commits mailing list