auto check = [&] (int x) -> bool {};
function<bool(int, int)> cmp = [](int a, int b) {return a > b;};
auto check = [&] (int x) -> bool {};
function<bool(int, int)> cmp = [](int a, int b) {return a > b;};
本文标题:2023-03-31 算法学习——c++ lamda
本文链接:https://www.haomeiwen.com/subject/nfjcddtx.html
网友评论