Exactly. I just managed to solve that today. The RobotJoint class had no problem in being copied as long as it had only floats and chars but when I added an object from Axes class it started complaining.
I overloaded the = operator for the Axes class and now everything compiles properly.
User Profile
Collapse
-
-
error C2679
Hi, I'm working on a project to create a robotics simulation environment based on c++ and opengl. Right now I'm stuck trying to solve a compilation error that I'm getting while trying to push_back an object from one of my classes.
Here's part of the code:
...Code:class RobotStruct { public: RobotStruct(); virtual ~RobotStruct(); void AddJoint(float Theta, float Alpha, float a, float d, int Type);
No activity results to display
Show More
Leave a comment: