a) [capture clause](parameters) -> return_type { body of the function }
b) [parameters](capture clause) -> return_type { body of the function }
c) [parameters:capture clause]() -> return_type { body of the function }
d) [capture clause:parameters]() -> return_type { body of the function }
What is the syntax of defining lambda expression?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the syntax of defining lambda expression?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!