| 301 | |
| 302 | template <class TStringType, class TWhitespaceFunc> |
| 303 | std::enable_if_t<std::is_invocable_v<TWhitespaceFunc, typename TStringType::value_type>, bool> Collapse( |
| 304 | const TStringType& from, TStringType& to, TWhitespaceFunc isWhitespace, size_t maxLen = 0) |
| 305 | { |
| 306 | return CollapseImpl(from, to, maxLen, isWhitespace); |
| 307 | } |
| 308 | |
| 309 | template <class TStringType> |
| 310 | inline bool Collapse(const TStringType& from, TStringType& to, size_t maxLen = 0) { |
no test coverage detected