Hello, B0FEE664, you wrote: BFE> And in the following standard record reduce and allow to write so: auto fn = [&m_n] (int n) {m_n = n;}; BFE>? Basically, probably. too it is not pleasant: N3424: Lambda Correctness and Usability Issues he offers in the document (Good) Option 3: Add support for capture of member variables with the obvious semantics.
↧