📅  最后修改于: 2022-03-11 14:48:23.642000             🧑  作者: Mango
vector< cat > catSorter::SortCatsByAge(){
vector< cat > cats_copy = cats;
std::sort(cats_copy.begin(), cats_copy.end());
return cats_copy;
}