| 153 | // to_upper_case_loc(locale("ru_RU.utf8"), "cYrIlLiC КиРиЛлИцА") == "CYRILLIC КИРИЛЛИЦА" |
| 154 | template <typename String> |
| 155 | String to_upper_case_loc(const std::locale& lcl, const String& str) |
| 156 | { |
| 157 | typedef typename String::value_type Char; |
| 158 | return transform([&lcl](Char c) -> Char { |
| 159 | return static_cast<Char>( |
| 160 | std::toupper(c, lcl)); |
| 161 | }, |
| 162 | str); |
| 163 | } |
| 164 | |
| 165 | // API search type: to_string_fill_left : (Char, Int, a) -> String |
| 166 | // fwd bind count: 2 |
nothing calls this directly
no test coverage detected