| 38 | |
| 39 | template <class T> |
| 40 | T* Find(T* str, std::common_type_t<T> ch) { |
| 41 | for (; *str; ++str) { |
| 42 | if (*str == ch) { |
| 43 | return str; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | return nullptr; |
| 48 | } |
| 49 | |
| 50 | } // namespace NStringSplitPrivate |
| 51 |
no outgoing calls
no test coverage detected