43 lines
2.1 KiB
Markdown
43 lines
2.1 KiB
Markdown
[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.6 Object concepts [concepts.object]"),ranges::[view](range.view#concept:view "25.4.5 Views [range.view]"),ranges::[random_access_range](range.refinements#concept:random_access_range "25.4.6 Other range refinements [range.refinements]"), andranges::[borrowed_range](range.range#concept:borrowed_range "25.4.2 Ranges [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.6 Other range refinements [range.refinements]"),
|
||
nor [default_initializable](concept.default.init#concept:default_initializable "18.4.12 Concept 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.1 General"))[.](#3.sentence-1)
|