76 assert(candidates.size() > 0);
80 for (
const auto& candidate : candidates) {
81 std::shared_ptr<MRUReplData> candidate_replacement_data =
82 std::static_pointer_cast<MRUReplData>(candidate->replacementData);
85 if (candidate_replacement_data->lastTouchTick == 0) {
88 }
else if (candidate_replacement_data->lastTouchTick >
89 std::static_pointer_cast<MRUReplData>(
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...
std::shared_ptr< replacement_policy::ReplacementData > replacementData
Replacement data associated to this entry.