c++lambda

https://blog.csdn.net/xiaoguyin_/article/details/79798362?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

std::sort(text.begin(), text.end(), [](auto x, auto y)
{
    return x > y;
});
posted on 2020-03-12 10:54  xlinsist  阅读(89)  评论(0编辑  收藏  举报