| 285 | } |
| 286 | |
| 287 | int toInt() const { |
| 288 | try { |
| 289 | return std::stoi(toUtf8()); |
| 290 | } |
| 291 | catch (...) { |
| 292 | return 0; |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | bool endsWith(const std::u32string& suffix) const { |
| 297 | return string_.size() >= suffix.size() && |
no outgoing calls
no test coverage detected