Update StringUtils.h

This commit is contained in:
alexey-milovidov 2018-06-16 05:14:37 +03:00 committed by GitHub
parent fd406f30ad
commit d578bcbd5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,4 +134,6 @@ inline bool equalsCaseInsensitive(char a, char b)
return a == b || (isAlphaASCII(a) && alternateCaseIfAlphaASCII(a) == b);
}
/// Inefficient.
std::string trim(const std::string & str, const std::function<bool(char)> & predicate);