Infinite recursion with std::move

前端 未结 0 621
忘了有多久
忘了有多久 2020-11-22 16:13

I have a class that mimicks a std::vector. For this, I want to have a function push_back that accepts both an lvalue and a rvalue.

    void push_back(const T&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题