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

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

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