Metall
v0.29
A persistent memory allocator for data-centric analytics
fallback_allocator_adaptor.hpp
Go to the documentation of this file.
1
// Copyright 2020 Lawrence Livermore National Security, LLC and other Metall
2
// Project Developers. See the top-level COPYRIGHT file for details.
3
//
4
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
5
6
#ifndef METALL_UTILITY_FALLBACK_ALLOCATOR_ADAPTOR_HPP
7
#define METALL_UTILITY_FALLBACK_ALLOCATOR_ADAPTOR_HPP
8
9
#include "
metall/container/fallback_allocator.hpp
"
10
11
#warning \
12
"This file is deprecated. Use container/fallback_allocator.hpp instead."
13
14
namespace
metall::utility
{
15
template
<
typename
primary_alloc>
16
using
fallback_allocator_adaptor
=
17
metall::container::fallback_allocator_adaptor<primary_alloc>
;
18
}
19
20
#endif
metall::container::fallback_allocator_adaptor
A Metall STL compatible allocator which fallbacks to a heap allocator (e.g., malloc()) if its constru...
Definition:
fallback_allocator.hpp:21
fallback_allocator.hpp
metall::utility
Namespace for utility items.
include
metall
utility
fallback_allocator_adaptor.hpp
Generated by
1.9.1