Deleted Added
sdiff udiff text old ( 12684:44ebd2bc020f ) new ( 13218:5e7df60c6cab )
full compact
1/**
2 * Copyright (c) 2018 Inria
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 36 unchanged lines hidden (view full) ---

45/**
46 * A replaceable entry is used by any table-like structure that needs to
47 * implement replacement functionality. It provides the replacement data
48 * pointer instantiated and needed by the replacement policy used.
49 * @sa Replacement Policies
50 */
51class ReplaceableEntry
52{
53 public:
54 /**
55 * Replacement data associated to this entry.
56 * It is instantiated by the replacement policy.
57 */
58 std::shared_ptr<ReplacementData> replacementData;
59};
60
61/**
62 * Replacement candidates as chosen by the indexing policy.
63 */
64typedef std::vector<ReplaceableEntry*> ReplacementCandidates;
65
66/**

--- 62 unchanged lines hidden ---