Class has no suitable copy constructor, do I need to initialize before passing to functions?

前端 未结 0 410
别跟我提以往
别跟我提以往 2020-12-14 02:44

I am encountering an issue when trying to pass an instance of my class to a function. It reads "Class \'Workout\' has no suitable copy constructor"

         


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