| 324 | /** Returns true if string @a str starts with string @a prefix. */ |
| 325 | template <size_t N> |
| 326 | inline bool cmHasLiteralPrefix(cm::string_view str, char const (&prefix)[N]) |
| 327 | { |
| 328 | return cmHasPrefix(str, cm::string_view(prefix, N - 1)); |
| 329 | } |
| 330 | |
| 331 | /** Returns true if string @a str ends with the character @a suffix. */ |
| 332 | inline bool cmHasSuffix(cm::string_view str, char suffix) |
searching dependent graphs…