error C2039: “push_front”: 不是“std::vectorint,std::allocator”的成员

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/p1126500468/article/details/80425716

错误代码:

unique_copy(ivec.cbegin(), ivec.cend(), front_inserter(ivec));
    for (auto i : ivec)
        cout << i;
    cout << endl;

报错:错误 1 error C2039: “push_front”: 不是“std::vector

猜你喜欢

转载自blog.csdn.net/p1126500468/article/details/80425716