Metall v0.30
A persistent memory allocator for data-centric analytics
 
Loading...
Searching...
No Matches
string.hpp
Go to the documentation of this file.
1// Copyright 2019 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_STRING_HPP
7#define METALL_CONTAINER_STRING_HPP
8
9#include <string>
10#include <boost/container/string.hpp>
11
12#include <metall/metall.hpp>
13
14namespace metall::container {
15
17template <class CharT, class Traits = std::char_traits<CharT>,
18 class Allocator = metall::manager::allocator_type<CharT>>
19using basic_string = boost::container::basic_string<CharT, Traits, Allocator>;
20
24
28
29} // namespace metall::container
30
31#endif // METALL_CONTAINER_STRING_HPP
Namespace for Metall container.
boost::container::basic_string< CharT, Traits, Allocator > basic_string
A string container that uses Metall as its default allocator.
Definition string.hpp:19
basic_string< char > string
A string container that uses char as its character type and Metall as its default allocator.
Definition string.hpp:23
basic_string< wchar_t > wstring
A string container that uses wchar_t as its character type and Metall as its default allocator.
Definition string.hpp:27
boost::container::vector< T, Allocator > vector
A vector container that uses Metall as its default allocator.
Definition vector.hpp:17