1//
2// immer: immutable data structures for C++
3// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
4//
5// This software is distributed under the Boost Software License, Version 1.0.
6// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
7//
8
9#include <immer/vector.hpp>
10#include <immer/vector_transient.hpp>
11
12#include <immer/heap/gc_heap.hpp>
13#include <immer/refcount/no_refcount_policy.hpp>
14
15using gc_memory = immer::memory_policy<
16 immer::heap_policy<immer::gc_heap>,
17 immer::no_refcount_policy,
18 immer::gc_transience_policy,
19 false>;
20
21template <typename T>
22using test_vector_t = immer::vector<T, gc_memory, 3u>;
23
24template <typename T>
25using test_vector_transient_t = immer::vector_transient<T, gc_memory, 3u>;
26
27#define VECTOR_T test_vector_t
28#define VECTOR_TRANSIENT_T test_vector_transient_t
29
30#include "generic.ipp"
31