Quantcast
Channel: Programmer's Town - Access from a lambda to a member of a class
Browsing all 5 articles
Browse latest View live

Access from a lambda to a member of a class

View Article



Re: Access from a lambda to a member of a class

Hello, B0FEE664, you wrote: BFE> In what sense of the prohibition of capture of members of a class in the capture list? So it was added. All members are captured through capture this. auto fn =...

View Article

Re: Access from a lambda to a member of a class

Hello, Alexander G, you wrote: BFE>> In what sense of the prohibition of capture of members of a class in the capture list? AG> so it was added. AG> all members are captured through capture...

View Article

Re: Access from a lambda to a member of a class

Hello, B0FEE664, you wrote: BFE> And in the following standard record reduce and allow to write so: BFE> BFE> auto fn = [&m_n] (int n) {m_n = n;}; BFE> BFE>? Did not hear about such...

View Article

Re: Access from a lambda to a member of a class

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:...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images