3 ms·
operator, is one of the operators defining a sequence point (e.g. guaranteeing the left side of the expression executes in whole before the right - others being
by MaulingMonkey 12y ago
operator, is one of the operators defining a sequence point (e.g. guaranteeing the left side of the expression executes in whole before the right - others being &&, ||, and ?:.)
Overloading the operator removes this sequence point. Too sketchy for my blood.
Some prior art:
http://www.gamedev.net/blog/2/entry-19599-bad-code-here/ http://www.gamedev.net/blog/2/entry-19599-bad-code-here/