DescriptionWTF::HashTable: Implement move semantics for keys and values.
This patch essentially updates all value-accepting member functions so
they could accept universal references instead of const lvalue
references.
Some use sites need to be updated so the types of the arguments are
correctly inferred.
This patch only touches HashMap, and the other HashTable-based
containers will be done later. They can be fixed in the same way as
HashMap.
BUG=567139, 582349
Committed: https://crrev.com/893a6b1187d3316943fcf19cee65aa5ab22fef7f
Cr-Commit-Position: refs/heads/master@{#379527}
Patch Set 1 #
Total comments: 8
Messages
Total messages: 21 (5 generated)
|