Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
gc-small-vector.hh
1#pragma once
2
3#include <boost/container/small_vector.hpp>
4
5#include "value.hh"
6
7namespace nix {
8
12template <typename T, size_t nItems>
13using SmallVector = boost::container::small_vector<T, nItems, traceable_allocator<T>>;
14
18template <size_t nItems>
19using SmallValueVector = SmallVector<Value *, nItems>;
20
26template <size_t nItems>
27using SmallTemporaryValueVector = SmallVector<Value, nItems>;
28
29}