コード例 #1
0
ファイル: main.cpp プロジェクト: YuryChebiryak/CCI
void removeDups(std::forward_list<int>& l) {
    l.sort();
    for (int n : l)
        std::cout << n << '\t';
    std::cout << std::endl;
    l.unique();
}