보키_기록용

Lamda 본문

공부/MEMO

Lamda

bokki0117 2022. 9. 16. 11:10

개시자 (introducer) : 안에 어떤 외부 변수를 써 넣는다면 람다 함수가 이를 캡쳐 해서, 이 변수를 람다 내부에서 이용할 수 있게 된다.

 

씹어먹는 C++ 토막글 ② - 람다(lambda) 함수 (modoocode.com)

 

씹어먹는 C++ 토막글 ② - 람다(lambda) 함수

 

modoocode.com

5 Curious C++ Lambda Examples: Recursion, constexpr, Containers and More - C++ Stories (cppstories.com)

 

5 Curious C++ Lambda Examples: Recursion, constexpr, Containers and More

In this blog post I’ll show you a couple of interesting examples with lambda expressions. Do you know how to write a recursive lambda? Store them in a container? Or invoke at compile time? See in the article. Updated in August 2022: Added C++23 improveme

www.cppstories.com

 

'공부 > MEMO' 카테고리의 다른 글

C++ Exception을 잘 안쓰는 이유  (0) 2022.10.12
std::function  (0) 2022.09.16
mutable 키워드  (0) 2022.09.01
explicit 키워드  (0) 2022.08.31
friend 키워드  (0) 2022.08.23
Comments