Metall  v0.29
A persistent memory allocator for data-centric analytics
scoped_allocator.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_CONTAINER_SCOPED_ALLOCATOR_HPP
7 #define METALL_CONTAINER_SCOPED_ALLOCATOR_HPP
8 
9 #include <boost/container/scoped_allocator.hpp>
10 
11 namespace metall::container {
12 
14 template <class OuterAlloc, class... InnerAlloc>
16  boost::container::scoped_allocator_adaptor<OuterAlloc, InnerAlloc...>;
17 
18 } // namespace metall::container
19 
20 #endif // METALL_CONTAINER_SCOPED_ALLOCATOR_HPP
Namespace for Metall container.
boost::container::scoped_allocator_adaptor< OuterAlloc, InnerAlloc... > scoped_allocator_adaptor
An allocator which can be used with multilevel containers.
Definition: scoped_allocator.hpp:16