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/atom.hpp> |
10 | #include <immer/heap/gc_heap.hpp> |
11 | #include <immer/refcount/no_refcount_policy.hpp> |
12 | |
13 | using gc_memory = immer::memory_policy< |
14 | immer::heap_policy<immer::gc_heap>, |
15 | immer::no_refcount_policy>; |
16 | |
17 | template <typename T> |
18 | using test_atom_t = immer::atom<T, gc_memory>; |
19 | |
20 | #define ATOM_T test_atom_t |
21 | #include "generic.ipp" |
22 |