You are viewing a single comment's thread. Return to all comments →
when overloading the < operator, you could just return the conditions instead of using the if and else statements
return (l < B.l || ((b < B.b) && (l == B.l)) || ((h < B.h) && (l == B.l) && (b == B.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 →
when overloading the < operator, you could just return the conditions instead of using the if and else statements