public member function
<locale>
std::collate::transformstring_type transform (const char_type* low, const char_type* high) const;
Transform character sequence
Returns a string object whose character values are such that when compared lexicographically with the character values resulting from calling this same function on another string, gives the same result as comparing the strings using collate::compare.This allows to speed up comparisons when a single string needs to be collate compared to many other strings, since lexicographical comparisons (such as those performed by the lexicographical_compare algorithm) may be considerably faster than collate::compare on certain locales.
Internally, this function simply calls the virtual protected member do_transform, which for the classic locale on the default specializations returns a string with the same characters as the range, without performing any transformation.
[low,high)
, which contains all the characters between low and high, including the character pointed by low but not the character pointed by high.
basic_string<charT>
, where charT
is collate's template parameter).
[low,high)
are accessed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4