If you ask me, the stl shines in cross-platform/architecture code. The thread library. Filesystem. Atomics. I happily use these instead of writing my own, whereas I'll write my own containers and other types.
-
-
Näytä tämä ketju
-
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.
Näytä tämä ketju
Keskustelun loppu
Uusi keskustelu -
-
-
Also, I originally used filesystem when it was experimental, and in that implementation, iterating through a directory was allocating 16 bytes every iteration and that drove me nuts. Cluttered up my memory tracker.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
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.