tmp: Limit the number of references to a temporary object to 2
which reduces the number of potential problems with the reuse of temporary objects. In order to avoid unnecessary creation of tmp's referring to temporary objects the assignment operator now transfers ownership of the object and resets the argument.
Please register or sign in to comment