Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
string.hpp
Go to the documentation of this file.
1
// Copyright 2026, Toyota Motor Corporation
2
//
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5
#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STRING_HPP_
6
#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STRING_HPP_
7
8
// parasoft-begin-suppress CERT_CPP-DCL58-a-2 "Part of a standard library implementation"
9
// parasoft-begin-suppress AUTOSAR-A17_6_1-a-2 "Part of a standard library implementation"
10
11
#include "arene/base/detail/raw_c_string.hpp"
12
#include "
stdlib/include/stdlib_detail/allocator.hpp
"
13
#include "
stdlib/include/stdlib_detail/char_traits.hpp
"
14
15
// IWYU pragma: private, include <string>
16
// IWYU pragma: friend "stdlib_detail/.*"
17
18
namespace
std
{
19
20
/// @brief Forward declaration of the basic string type. No definition is provided.
21
/// @tparam CharT The character type
22
/// @tparam Traits The character traits type
23
/// @tparam Allocator The allocator type
24
template
<
class
CharT,
class
Traits =
char
_traits<CharT>,
class
Allocator = allocator<CharT>>
25
class
basic_string;
26
27
/// @brief Alias for the common case of a string with @c char characters, standard traits and standard allocator
28
using
string = basic_string<arene::base::detail::character>;
29
30
}
// namespace std
31
32
#endif
// INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STRING_HPP_
allocator.hpp
char_traits.hpp
std
STL namespace.
stdlib
include
stdlib_detail
string.hpp
Generated by
1.13.2