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