Changeset 913 for cpp/common/util-string.h
- Timestamp:
- 04/20/20 23:27:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/util-string.h
r840 r913 10 10 11 11 char* strmove(char *a, char *b); //strcpy that works well for overlapping strings ("Source and destination overlap") 12 bool str_starts_with(const char *str, const char *prefix); 13 inline bool starts_with(string& str, const char *prefix) { return str_starts_with(str.c_str(),prefix); } //std::string.starts_with(...) since c++20 12 14 13 15 string ssprintf(const char* format, ...);
Note: See TracChangeset
for help on using the changeset viewer.