Chromium Code Reviews
DescriptionAllow custom comparators for the MRUCache
//base's MRUCache allowed specifying key and value types, like
an underlying std::map<>, but the default base::MRUCache explicitly
specialized the comparator as std::less<>. Rather than require the
caller to overload std::less<> or operator<, allow the comparator
to be specified as a templated argument.
BUG=665735
Committed: https://crrev.com/b36da9dffc6fed50a8d72d1818d5a574e6502940
Cr-Commit-Position: refs/heads/master@{#434850}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||