![]() |
ATLAS Offline Software
|
C++20-like starts_with/ends_with for strings. More...
Go to the source code of this file.
Namespaces | |
CxxUtils | |
Functions | |
bool | CxxUtils::starts_with (const char *s, const char *prefix) |
Test whether one null-terminated byte string starts with another. More... | |
bool | CxxUtils::starts_with (const std::string &s, const char *prefix) |
Test whether one string starts with a null-terminated byte string. More... | |
bool | CxxUtils::starts_with (const std::string &s, const std::string &prefix) |
Test whether one string starts with another. More... | |
bool | CxxUtils::ends_with (const char *s, const char *suffix) |
Test whether one null-terminated byte string ends with another. More... | |
bool | CxxUtils::ends_with (const std::string &s, const char *suffix) |
Test whether one string ends with a null-terminated byte string. More... | |
bool | CxxUtils::ends_with (const std::string &s, const std::string &suffix) |
Test whether one string ends with another. More... | |