combined post-operators?
we're informed pre- post-increment operators, e.g.
c++; // c = c + 1
++c; // ditto
and "combined operators" extend principle:
c += 5; // c = c + 5
s .= ", world"; // s = s . ", world"; e.g. php
i've mostly need 'post-combined operator', allow:
s =. "hello "; // s = "hello " . s
obviously, wholly unequivocally useful non-commutable operators definition altered pre-/post-increment, even nonetheless syntax borrowed.
are wakeful any libel offers such an operator, since isn't some-more common?
Comments
Post a Comment