On Tuesday, 26 May 2015 at 12:51:20 UTC, Timon Gehr wrote:
I guess overloaded operators could be made to cache the old value. (As they do in CTFE, apparently. :o))

However, this seems like overkill. Any other ideas?

They can but it wouldn't fix anything. The rvalue is already evaluated by then.

Reply via email to