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/flex_vector_transient.hpp> |
11 | #include <immer/vector.hpp> |
12 | #include <immer/vector_transient.hpp> |
13 | |
14 | template <typename T> |
15 | using test_flex_vector_t = immer::flex_vector<T, immer::default_memory_policy, 3u, 0u>; |
16 | |
17 | template <typename T> |
18 | using test_flex_vector_transient_t = typename test_flex_vector_t<T>::transient_type; |
19 | |
20 | template <typename T> |
21 | using test_vector_t = immer::vector<T, immer::default_memory_policy, 3u, 0u>; |
22 | |
23 | #define FLEX_VECTOR_T test_flex_vector_t |
24 | #define FLEX_VECTOR_TRANSIENT_T test_flex_vector_transient_t |
25 | #define VECTOR_T test_vector_t |
26 | |
27 | #include "generic.ipp" |
28 |