Metall v0.30
A persistent memory allocator for data-centric analytics
 
Loading...
Searching...
No Matches
list.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_LIST_HPP
7#define METALL_CONTAINER_LIST_HPP
8
9#include <boost/container/list.hpp>
10
11#include <metall/metall.hpp>
12
13namespace metall::container {
14
16template <typename T, typename Allocator = manager::allocator_type<T>>
17using list = boost::container::list<T, Allocator>;
18
19} // namespace metall::container
20
21#endif // METALL_CONTAINER_LIST_HPP
Namespace for Metall container.
boost::container::list< T, Allocator > list
A list container that uses Metall as its default allocator.
Definition list.hpp:17