error: use of deleted function

前端 未结 6 1392
滥情空心
滥情空心 2020-12-02 08:00

I\'ve been working on some C++ code that a friend has written and I get the following error that I have never seen before when compiling with gcc4.6:

error:          


        
6条回答
  •  时光说笑
    2020-12-02 08:17

    I encountered this error when inheriting from an abstract class and not implementing all of the pure virtual methods in my subclass.

提交回复
热议问题