aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/reserve.h
blob: 81ceed19dc472bf9c15140ef0f6ef77620d55b90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

namespace NDetail {
    struct TReserveTag {
        size_t Capacity;
    };
}

constexpr ::NDetail::TReserveTag Reserve(size_t capacity) {
    return ::NDetail::TReserveTag{capacity};
}