Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
gc-small-vector.hh
1
#pragma once
2
3
#include <boost/container/small_vector.hpp>
4
5
#include "
nix/expr/value.hh
"
6
7
namespace
nix {
8
12
template
<
typename
T,
size_t
nItems>
13
using
SmallVector = boost::container::small_vector<T, nItems, traceable_allocator<T>>;
14
18
template
<
size_t
nItems>
19
using
SmallValueVector = SmallVector<Value *, nItems>;
20
26
template
<
size_t
nItems>
27
using
SmallTemporaryValueVector = SmallVector<Value, nItems>;
28
35
constexpr
size_t
nonRecursiveStackReservation = 128;
36
43
constexpr
size_t
conservativeStackReservation = 16;
44
45
}
// namespace nix
value.hh
libexpr
include
nix
expr
gc-small-vector.hh
Generated by
1.18.0