CPP-17-STL-cookbook icon indicating copy to clipboard operation
CPP-17-STL-cookbook copied to clipboard

纠正一个错误的描述。

Open RichardcLee opened this issue 4 years ago • 0 comments

std::sort 确实不可以对 std::list 进行排序,但不代表 list 不可以排序,实际上 std::list 也提供了成员函数 sort(),可以对 list 进行排序。

RichardcLee avatar Dec 25 '20 07:12 RichardcLee