C++ Lambda 表达式隐式转换引发的 Bug | SF-Zhou's Blog #162
Replies: 4 comments
-
这里就得羡慕一下 Rust 了,它的编译期检查和生命周期管理会比 C++ 更严谨些。 |
Beta Was this translation helpful? Give feedback.
-
踩过这个坑……当时没想为什么……换成不是auto就可以 |
Beta Was this translation helpful? Give feedback.
-
好像不一样。之前你写的threadpool,里面有一个 |
Beta Was this translation helpful? Give feedback.
-
😅 |
Beta Was this translation helpful? Give feedback.
-
https://sf-zhou.github.io/programming/lambda_implicit_conversion_bug.html
Beta Was this translation helpful? Give feedback.
All reactions