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/flex_vector.hpp>
10#include <immer/vector.hpp>
11#include <immer/heap/gc_heap.hpp>
12#include <immer/refcount/no_refcount_policy.hpp>
13
14using gc_memory = immer::memory_policy<
15 immer::heap_policy<immer::gc_heap>,
16 immer::no_refcount_policy,
17 immer::gc_transience_policy,
18 false>;
19
20template <typename T>
21using test_flex_vector_t = immer::flex_vector<T, gc_memory, 3u>;
22
23template <typename T>
24using test_vector_t = immer::vector<T, gc_memory, 3u>;
25
26#define FLEX_VECTOR_T test_flex_vector_t
27#define VECTOR_T test_vector_t
28#include "generic.ipp"
29