Metall
v0.29
A persistent memory allocator for data-centric analytics
stack.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_STACK_HPP
7
#define METALL_CONTAINER_STACK_HPP
8
9
#include <stack>
10
11
#include <
metall/container/deque.hpp
>
12
13
namespace
metall::container
{
14
16
template
<
typename
T,
typename
Container = deque<T>>
17
using
stack
= std::stack<T, Container>;
18
19
}
// namespace metall::container
20
21
#endif
// METALL_CONTAINER_STACK_HPP
deque.hpp
metall::container
Namespace for Metall container.
metall::container::stack
std::stack< T, Container > stack
A stack container that uses Metall as its default allocator.
Definition:
stack.hpp:17
include
metall
container
stack.hpp
Generated by
1.9.1