database.path() returns std::string const& to reduce friction#254
Conversation
This reduces friction with the `std::set<std::string>` returned by `reader.files()`,
|
My first instinct was to resolve this friction by making the std::set<std::string, std::less<>> s; // std::less<> deduces parameter types
auto iter = s.find(std::string_view{"asdf"}); |
I thought about that, but suspected (perhaps erroneously) that transparency would result in a Even if transparency worked, that would create friction between |
This reduces friction with the
std::set<std::string>returned byreader.files(),