Extending compound assignments for C++


Compound assignments have been created with efficiency, for handling a subset of things that simple assignments can do. This gain in efficiency is due to the interpretation of the compound assignment as a message that modifies self (“this”). However, C++ does not extend the same interpretation of compound assignments to user defined types. In… (More)
DOI: 10.1145/140635.140640