Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
lambda 并不是真正的函数,它是一个闭包对象。基本上,编译器生成的类已operator()定义。非捕获闭包还定义了一个转换运算符,用于转换为良好的旧指针函数。
operator()