Skip to content
Snippets Groups Projects
Commit 51f93d3b authored by Henry Weller's avatar Henry Weller
Browse files

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.
parent 4a359439
Branches
Tags
1 merge request!33Merge foundation
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment