I spend a lot of time crapping on the stl, but I must admit that std::filesystem is one of the better additions to the stl. I used to not care for it, but since I've been writing more cross-platform code it's been one thing less I have to worry about.
The only place where this gets iffy is when things like filesystem use types I don’t want to use, like string, vector, or whatever. Path::getu8string() annoyingly only comes back as a std::string. No way to extract the u8string into a provided buffer.
-
-
what are you using filesystem for? depending on needs I find physfs to be really good, abstracts away OS specific junk and has some cool logical directory mechanism
-
(of course C API, if that's a problem)
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.