[PATCH] D58164: Block+lambda: allow reference capture

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 22:55:24 PDT 2019


rjmccall added a comment.

I'm not sure we've ever written down what the semantics of the block capture are actually supposed to be in this situation.  I guess capturing a reference is the right thing to do?  Is that what we generally do if this is a POD type?


Repository:
  rC Clang

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

https://reviews.llvm.org/D58164





More information about the cfe-commits mailing list