More Lambda Features with C++20--Rainer Grimm

Save to:
Instapaper Pocket Readability

More lambda fun.

More Lambda Features with C++20

by Rainer Grimm

From the article:

Lambdas in C++20 can be default-constructed and support copy-assignment when they have no state. Lambdas can be used in unevaluated contexts. Additionally, they detect when you implicitly copy the this pointer. This means a significant cause of undefined-behavior with lambdas is gone...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.