48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
[locale.collate.members]
|
|
|
|
# 28 Text processing library [[text]](./#text)
|
|
|
|
## 28.3 Localization library [[localization]](localization#locale.collate.members)
|
|
|
|
### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.collate.members)
|
|
|
|
#### 28.3.4.5 The collate category [[category.collate]](category.collate#locale.collate.members)
|
|
|
|
#### 28.3.4.5.1 Class template collate [[locale.collate]](locale.collate#members)
|
|
|
|
#### 28.3.4.5.1.2 Members [locale.collate.members]
|
|
|
|
[ð](#lib:collate,compare)
|
|
|
|
`int compare(const charT* low1, const charT* high1,
|
|
const charT* low2, const charT* high2) const;
|
|
`
|
|
|
|
[1](#1)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L3406)
|
|
|
|
*Returns*: do_compare(low1, high1, low2, high2)[.](#1.sentence-1)
|
|
|
|
[ð](#lib:collate,transform)
|
|
|
|
`string_type transform(const charT* low, const charT* high) const;
|
|
`
|
|
|
|
[2](#2)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L3417)
|
|
|
|
*Returns*: do_transform(low, high)[.](#2.sentence-1)
|
|
|
|
[ð](#lib:collate,hash)
|
|
|
|
`long hash(const charT* low, const charT* high) const;
|
|
`
|
|
|
|
[3](#3)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L3428)
|
|
|
|
*Returns*: do_hash(low, high)[.](#3.sentence-1)
|