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/map.hpp>
10#include <immer/heap/gc_heap.hpp>
11#include <immer/refcount/no_refcount_policy.hpp>
12
13using gc_memory = immer::memory_policy<
14 immer::heap_policy<immer::gc_heap>,
15 immer::no_refcount_policy,
16 immer::gc_transience_policy,
17 false>;
18
19template <typename K, typename T,
20 typename Hash = std::hash<K>,
21 typename Eq = std::equal_to<K>>
22using test_map_t = immer::map<K, T, Hash, Eq, gc_memory, 3u>;
23
24#define MAP_T test_map_t
25#include "generic.ipp"
26