xcode - “attempt to use a deleted function” - what does that mean?

前端 未结 5 1973
一向
一向 2021-01-18 12:36

I am writing a C++ library in Xcode 4.2

One of my classes won\'t compile with this error : \"attempt to use a deleted function\".

There is no specific indica

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 13:38

    For me It solved it when I passed "this" pointer as a parameter to the function.

提交回复
热议问题