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

43 lines
2.1 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.

[text.encoding.aliases]
# 28 Text processing library [[text]](./#text)
## 28.4 Text encodings identification [[text.encoding]](text.encoding#aliases)
### 28.4.2 Class text_encoding [[text.encoding.class]](text.encoding.class#text.encoding.aliases)
#### 28.4.2.5 Class text_encoding::aliases_view [text.encoding.aliases]
[🔗](#lib:aliases_view,text_encoding)
`struct text_encoding::aliases_view : ranges::view_interface<text_encoding::aliases_view> {
constexpr implementation-defined begin() const;
constexpr implementation-defined end() const;
};
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L5399)
text_encoding::aliases_view models[copyable](concepts.object#concept:copyable "18.6Object concepts[concepts.object]"),ranges::[view](range.view#concept:view "25.4.5Views[range.view]"),ranges::[random_access_range](range.refinements#concept:random_access_range "25.4.6Other range refinements[range.refinements]"), andranges::[borrowed_range](range.range#concept:borrowed_range "25.4.2Ranges[range.range]")[.](#1.sentence-1)
[*Note [1](#note-1)*:
text_encoding::aliases_view is not required to satisfyranges::[common_range](range.refinements#concept:common_range "25.4.6Other range refinements[range.refinements]"),
nor [default_initializable](concept.default.init#concept:default_initializable "18.4.12Concept default_­initializable[concept.default.init]")[.](#1.sentence-2)
— *end note*]
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L5411)
Bothranges::range_value_t<text_encoding::aliases_view> andranges::range_reference_t<text_encoding::aliases_view> denote const char*[.](#2.sentence-1)
[3](#3)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L5417)
ranges::iterator_t<text_encoding::aliases_view> is a constexpr iterator ([[iterator.requirements.general]](iterator.requirements.general "24.3.1General"))[.](#3.sentence-1)