The GD library might also contain some useful functions:
http://www.boutell.com/gd...
User Profile
Collapse
-
Ok. I can accept that.
But in this case the strange thing is that is impossible to write a good assignment operator, but it is still required. I don't want that assignment operator to exist at all, because it doesn't do what it is supposed to do, which makes it dangerous.
So, the compiler requires to have somthing of which it can know that it is impossible to function properly....Leave a comment:
-
why assignment operator required, but not used?
I have a class with const member variables. I want to put objects from that class in a vector. For adding objects to the vector, the compiler (g++ 4.0.1 on mac os x 10.4.8) requires me to provide a copy constructor and an assignment operator for that class. A copy constructor is no problem. An assigment operator is problematic, since there are const members, which can't be changed in the body of the assignment operator. So I wrote an empty assigment...
No activity results to display
Show More
Leave a comment: