https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118003

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Storsjö from comment #2)
> > I also don't want to have to use Windows APIs here.
> 
> How does that work within libstdc++ in general, with std::filesystem using
> wchar_t as std::filesystem::path::value_type? Are all paths converted to
> narrow form (into CP_ACP or similar?), for use with platform independent
> filesystem APIs?

No, all paths are stored as wchar_t. Almost everything is done via wide APIs
like _wreaddir, _wopendir, _wstat64 etc.

Reply via email to