i know the minimal basics of a lambda function, could someone give me the breakdown of each part in the function
cmccaig
0
Newbie Poster
Recommended Answers
Jump to PostIn
// ... int x = 8 ; int y = 9 ; auto foobar = [ &x, y ]( int a, int b ) { return x += a + b + y ; } // ...
[ &x, y ]
specifies the identifiers …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.