Capture *this in lambda expression: Timeline of change -- Hitesh Kumar

The current object (*this) capture in a lambda expression has gone through some changes since C++11.

Capture *this in lambda expression: Timeline of change

by Hitesh Kumar

From the article:

A lambda defined inside a non-static member function can directly access the members of the current object (or its copy) via an appropriate capture clause. But how the current object can be captured has gone through some changes since C++11.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.