forked from foonathan/memory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory_pool_collection.cpp
More file actions
51 lines (41 loc) · 2.88 KB
/
Copy pathmemory_pool_collection.cpp
File metadata and controls
51 lines (41 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (C) 2015-2016 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include "memory_pool_collection.hpp"
#include "debugging.hpp"
using namespace foonathan::memory;
void detail::memory_pool_collection_leak_handler::operator()(std::ptrdiff_t amount)
{
get_leak_handler()({FOONATHAN_MEMORY_LOG_PREFIX "::memory_pool_collection", this}, amount);
}
#if FOONATHAN_MEMORY_EXTERN_TEMPLATE
template class foonathan::memory::memory_pool_collection<node_pool, identity_buckets>;
template class foonathan::memory::memory_pool_collection<array_pool, identity_buckets>;
template class foonathan::memory::memory_pool_collection<small_node_pool, identity_buckets>;
template class foonathan::memory::memory_pool_collection<node_pool, log2_buckets>;
template class foonathan::memory::memory_pool_collection<array_pool, log2_buckets>;
template class foonathan::memory::memory_pool_collection<small_node_pool, log2_buckets>;
template class foonathan::memory::allocator_traits<memory_pool_collection<node_pool,
identity_buckets>>;
template class foonathan::memory::allocator_traits<memory_pool_collection<array_pool,
identity_buckets>>;
template class foonathan::memory::allocator_traits<memory_pool_collection<small_node_pool,
identity_buckets>>;
template class foonathan::memory::allocator_traits<memory_pool_collection<node_pool, log2_buckets>>;
template class foonathan::memory::allocator_traits<memory_pool_collection<array_pool,
log2_buckets>>;
template class foonathan::memory::allocator_traits<memory_pool_collection<small_node_pool,
log2_buckets>>;
template class foonathan::memory::
composable_allocator_traits<memory_pool_collection<node_pool, identity_buckets>>;
template class foonathan::memory::
composable_allocator_traits<memory_pool_collection<array_pool, identity_buckets>>;
template class foonathan::memory::
composable_allocator_traits<memory_pool_collection<small_node_pool, identity_buckets>>;
template class foonathan::memory::composable_allocator_traits<memory_pool_collection<node_pool,
log2_buckets>>;
template class foonathan::memory::composable_allocator_traits<memory_pool_collection<array_pool,
log2_buckets>>;
template class foonathan::memory::
composable_allocator_traits<memory_pool_collection<small_node_pool, log2_buckets>>;
#endif