Title: Theory / Unimportant / CS / Programming / C++ / Manual / Norm / 11 Lambda;
Tags: declaration

Instruction: [local_arg_1, ..., local_arg_n]
Page: 290
Effect: uses local_arg_1, ..., local_arg_n to determine what local values are used in the lambda and how
Language: c++
Context: Lambda
Chapter: 11
Section: 4
Name: a capture list

Name: A lambda expresson
Page: 290
Chapter: 11
Section: 4
Context: C++
Name2: A lambda function

Instruction: []
Page: 290
Effect: the lambda do not use any local context
Language: C++
Context: Lambda
Chapter: 11
Section: 4
Name: empty capture.

Question: If a lambda escape its definition scope, what must be done
Answer: Ensure that all captured variable are copied
Page: 296
Chapter: 11
Section: 4
Context: C++ Lambda

Question: From a lambda in a class, how to access the class member
Answer: capture this
Page: 296
Chapter: 11
Section: 4
Context: C++ Lambda

Instruction: [capture_list] (args) mutable {body}
Page: 296
Effect: Same as [capture_list] (args) {body}, with captured variable mutable
Language: C++
Context: Lambda
Chapter: 11
Section: 4.3.4

Instruction: [capture_list]  {body}
Page: 299
Language: C++
Context: Lambda
Chapter: 11
Section: 4.4
Returns: [capture_list] () {body}

Instruction: [capture_list] (args) ->return_type {body}
Page: 299
Language: C++
Context: Lambda
Chapter: 11
Section: 4.4
Returns: [capture_list] (args)  {body}, forcing return type to be return_type

Name: The closure type
Definition: The type of a closure of a lambda
Page: 297
Chapter: 11
Section: 4.4
Context: C++

Typ: function<return_type(args_type)>
Meaning: type of objects which are callable with arguments args_types and return return_type
Page: 297
Language: C++
Chapter: 11
Section: 4.4