| 13173 | } |
| 13174 | |
| 13175 | bool startsWith( std::string const& s, std::string const& prefix ) { |
| 13176 | return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); |
| 13177 | } |
| 13178 | bool startsWith( std::string const& s, char prefix ) { |
| 13179 | return !s.empty() && s[0] == prefix; |
| 13180 | } |
no test coverage detected