To follow up on 2kaud's point:
Don't do this. Write a real, bonafide copy constructor, not a fake one.Code:B(B& b, int dummy) //pseudo-assignment constructor
If you implement this function, then you are implementing the copy constructor.Code:B(const B& b)
Regards,
Paul McKenzie




Reply With Quote