You are viewing a single comment's thread. Return to all comments →
You need to use these signatures for the overloaded operators. I had the same problem, and this solved it.
ostream& operator<<(ostream& out, Box b)
bool operator<(Box& b)
Seems like cookies are disabled on this browser, please enable them to open this website
Box It!
You are viewing a single comment's thread. Return to all comments →
You need to use these signatures for the overloaded operators. I had the same problem, and this solved it.
ostream& operator<<(ostream& out, Box b)
bool operator<(Box& b)