Disadvantage of using lambda default capture by value or reference in C++11?

后端 未结 0 834
南笙
南笙 2021-02-15 03:54

What are the pitfalls of using lambda default capture by value ([=]) or by reference ([&]) in C++11?

I know some pitfalls like:

    <
相关标签:
回答
  • 消灭零回复
提交回复
热议问题