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
18namespace 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
24template <class CharT, class Traits = char_traits<CharT>, class Allocator = allocator<CharT>>
25class basic_string;
26
27/// @brief Alias for the common case of a string with @c char characters, standard traits and standard allocator
29
30} // namespace std
31
32#endif // INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STRING_HPP_
constexpr auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition result.hpp:1827