Starting with C++17, std::string::find accepts anything that can be converted to std::string_view, including StringRef, allowing us to avoid creating temporary instances of std::string.
14 KiB
14 KiB