#include "components/zucchini/reference_set.h"
#include <algorithm>
#include <iterator>
#include "base/check_op.h"
#include "components/zucchini/target_pool.h"
namespace zucchini {
namespace {
bool IsReferenceListSorted(const std::vector<Reference>& refs) { … }
}
ReferenceSet::ReferenceSet(const ReferenceTypeTraits& traits,
const TargetPool& target_pool)
: … { … }
ReferenceSet::ReferenceSet(ReferenceSet&&) = default;
ReferenceSet::~ReferenceSet() = default;
void ReferenceSet::InitReferences(ReferenceReader&& ref_reader) { … }
void ReferenceSet::InitReferences(const std::vector<Reference>& refs) { … }
Reference ReferenceSet::at(offset_t offset) const { … }
}