3460:421 OOP Callbacks: Lambda Functions
Across
- 6. The lambda function: [](const void* e1, const void* e2)->int { /* ... */ } is an example of an ____ comparison
- 8. The -> in the lambda expression [](int n1, int n2)->bool {}
- 9. The lambda function: [](int n1, int n2)->bool { return n1 < n2; } is an example of a ____ comparison
- 11. Naming things is good when we have a good name, but a ______ when we don't
- 12. Lambda functions with an empty capture, i.e., "[]", can be passed to ______ _______
- 13. Function often cannot be _____ close to where they are used
- 14. The () in the lamba expression [](int n1, int n2)->bool {}
- 15. A C function for sorting that uses a function pointer for comparison
Down
- 1. A lambda function is also known as an ______ function
- 2. The capture and _____ _____ is very important
- 3. ______ inline lambda functions brings up issue
- 4. The lambda function: [](char& c) { c = std::toupper(c); } uses an ____ parameter
- 5. The [] in the lamba expression [](int n1, int n2)->bool {}
- 7. The lambda function: [](char c) { std::cout << c; } uses an __ parameter
- 10. The {} in the lamba expression [](int n1, int n2)->bool {}