Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 std::string 中设置另一种 find() 算法,就像我们可以设置自写的 Allocator 一样。还是只有通过继承才有可能?