aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/reserve.h
blob: d859ebe850a140b1846a0ba07afce72c4e73f987 (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}; 
}