================ @@ -50,12 +50,16 @@ struct basic_string { size_type find(const _Type& str, size_type pos = 0) const; size_type find(const C* s, size_type pos = 0) const; size_type find(const C* s, size_type pos, size_type n) const; + size_type find(C ch, size_type pos = 0) const; ---------------- nicovank wrote:
```suggestion size_type find(C ch, size_type pos = 0) const; template<class StringViewLike> size_type find(const StringViewLike& t, size_type pos = 0) const; ``` Let's cover them all if possible. This one might cause issues, and is probably not all that common, but let's see. https://github.com/llvm/llvm-project/pull/110351 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits