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 | #pragma once |
10 | |
11 | #include <immer/heap/with_data.hpp> |
12 | |
13 | namespace immer { |
14 | |
15 | struct free_list_node |
16 | { |
17 | free_list_node* next; |
18 | }; |
19 | |
20 | template <typename Base> |
21 | struct with_free_list_node |
22 | : with_data<free_list_node, Base> |
23 | {}; |
24 | |
25 | } // namespace immer |
26 | |