Files
2025-10-25 03:02:53 +03:00

36 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[strings.general]
# 27 Strings library [[strings]](./#strings)
## 27.1 General [strings.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/strings.tex#L6)
This Clause describes components for manipulating sequences of
any non-array trivially copyable standard-layout ([[basic.types.general]](basic.types.general#term.standard.layout.type "6.9.1General")) type T where is_trivially_default_constructible_v<T> is true[.](#1.sentence-1)
Such types are called [*char-like types*](#def:char-like_type "27.1General[strings.general]"),
and objects of
char-like types are called [*char-like objects*](#def:char-like_object "27.1General[strings.general]") or
simply [*characters*](#def:characters)[.](#1.sentence-2)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/strings.tex#L15)
The following subclauses describe a
character traits class, string classes, and
null-terminated sequence utilities,
as summarized in Table [86](#tab:strings.summary "Table 86: Strings library summary")[.](#2.sentence-1)
Table [86](#tab:strings.summary) — Strings library summary [[tab:strings.summary]](./tab:strings.summary)
| [🔗](#tab:strings.summary-row-1) | **Subclause** | **Header** |
| --- | --- | --- |
| [🔗](#tab:strings.summary-row-2)<br>[[char.traits]](char.traits "27.2Character traits") | Character traits | <string> |
| [🔗](#tab:strings.summary-row-3)<br>[[string.view]](string.view "27.3String view classes") | String view classes | <string_view> |
| [🔗](#tab:strings.summary-row-4)<br>[[string.classes]](string.classes "27.4String classes") | String classes | <string> |
| [🔗](#tab:strings.summary-row-5)<br>[[c.strings]](c.strings "27.5Null-terminated sequence utilities") | Null-terminated sequence utilities | <cstring> |