rjmccall added a comment.

Yes, in that case copy-elision into the global variable is guaranteed.  You can 
write arbitrary expressions in global initializers, however, and those can use 
temporary lambdas.


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

https://reviews.llvm.org/D69938



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to