Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your post made me check it, and you CAN overload "operator," in C++ apparently :)

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,"



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: