0

I have "right" overloading working fine with:

Vector Point::operator*( double P )

this would be called with MyPoint*2 and gives the results I would like. However, if I say:

2*MyPoint, it says I can't do that. Makes sense, but surely this can be done! I had trouble googling because I didn't know what to call this!

Any help will be appreciated!

Dave

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by daviddoria
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.