[PATCH] D23325: [WIP] Binding of references to packed fields

Roger Ferrer Ibanez via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 09:12:17 PDT 2016


rogfer01 added inline comments.

================
Comment at: lib/Sema/SemaInit.cpp:4202-4204
@@ +4201,5 @@
+
+       It is not possible to bind w to a temporary of a.x because this
+       would require (recursively) invoking the copy constructor of
+       std::vector to obtain first a (properly aligned) temporary of a.x.
+      */
----------------
Rereading this makes no sense to me now. I'll adress this in a later update.


https://reviews.llvm.org/D23325





More information about the cfe-commits mailing list