learn.blog
Marked 2 years 4 months ago onto Capture Clause | Learn C++
Source: https://learncplusplus.org/the-step-by-step-guide-to-lambda-expressions-in-a...
Capture clauses can be used in different ways to specify the requirements of functions. Capture clauses are used to instruct the compiler to capture the variables visible in scope around where the lambda is declared, either by copy or by reference, to be available for use inside the lambda method body. For more details about Capture Clause visit our website.
Category:
Comments
Leave your comment below