blob: a4ce796cd82293806953dd018f6b4ff4754b61bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "bucketid.h"
#include <vespa/vespalib/stllike/allocator.h>
#include <vector>
namespace document::bucket {
using BucketIdListT = std::vector<BucketId, vespalib::allocator_large<BucketId>>;
class BucketIdList : public BucketIdListT {
public:
using BucketIdListT::BucketIdListT;
BucketIdList(BucketIdList && rhs) noexcept = default;
BucketIdList & operator = (BucketIdList &&) noexcept = default;
BucketIdList(const BucketIdList & rhs);
BucketIdList & operator = (const BucketIdList &);
~BucketIdList();
};
}
|