[PATCH] D32385: [libcxx] optional: Implement LWG 2900 and P0602

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 4 01:28:12 PDT 2017


EricWF added a comment.

So Itanium ABI has this quirk where trivial types are passed using different conventions than non-trivial types. This means changing the triviality of `std::optional` for any instantiation is potentially ABI breaking. I'll need to do more investigation to find out how this will affect libc++, and if we can take this change.


https://reviews.llvm.org/D32385





More information about the cfe-commits mailing list