3 ms·
Your post made me check it, and you CAN overload "operator," in C++ apparently :) http://en.wikibooks.org/wiki/C%2B%2B_Programming/Operators/Operator_Overloadi
by ajuc 14y ago
Your post made me check it, and you CAN overload "operator," in C++ apparently :)
http://en.wikibooks.org/wiki/C%2B%2B_Programming/Operators/Operator_Overloading#Comma_operator http://en.wikibooks.org/wiki/C%2B%2B_Programming/Operators/O...
My mind is blown. You can write bottom-up code in C++ :)
EDIT: no, you still can't the expressions are evaluated first, before calling "operator,"