https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90704
Bug ID: 90704 Summary: filesystem::path overloads for file streams are not conforming Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://gcc.gnu.org/ml/libstdc++/2017-10/msg00110.html mentions: > This isn't entirely conforming, because a type that is convertible to > filesystem::path will not match these new function templates. We can > revisit it once the <filesystem> symbols are added to libstdc++.so but > this should be OK for now. Now it seems to be time to revisit it. Notably, the current overloads prevent `string_view` from working with file streams.