2023-03-31 算法学习——c++ lamda

auto check = [&] (int x) -> bool {};

function<bool(int, int)> cmp = [](int a, int b) {return a > b;};

posted @ 2024-02-24 21:20  lovevivi121  阅读(22)  评论(0)    收藏  举报  来源