fix(Core/Utilites): improve acore::String::Trim (#4704)

- Improve `acore::String::Trim`
- Delete `acore::String::Reduce`
- Skip line comment #4748
This commit is contained in:
Kargatum 2021-03-09 21:02:45 +07:00 committed by GitHub
parent ddc18fa6c2
commit 60d684282b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 35 deletions

View file

@ -42,8 +42,8 @@ namespace acore
namespace acore::String
{
std::string Trim(std::string const& str, std::string_view whitespace = " \t");
std::string Reduce(std::string const& str, std::string_view fill = " ", std::string_view whitespace = " \t");
template<class Str>
Str Trim(const Str& s, const std::locale& loc = std::locale());
}
#endif