Redpill me on std::filesystem

Is it any good and how the fuck do I use it?

Attached: Untitled.png (643x401, 21K)

Other urls found in this thread:

en.cppreference.com/w/cpp/container/vector#Iterator_invalidation
en.cppreference.com/w/cpp/container/vector/operator=#Notes
en.cppreference.com/w/cpp/container/vector/vector#Notes
twitter.com/AnonBabble

does anyone else think "sexually transmitted disease" any time they read std::?

It's good, because it's not external.
What.

It's derived from boostshit so it's pretty awful, you're better off using your platforms APIs instead.

No? The fuck wrng with you
Wait so it actually works with different OS's and filesystem's?

>c++
Stopped reading there

Okay, how do I use a portable platform-independent filesystem iterator in C?

Not him but IIRC the stuff in dirent.h can handle that, most platforms should have it since it was included in C98 or some shit (with the exception of Winblows of course but there's tons of homemade equivalents for that)

I don't like naked pointers and structs tho, I need iterators, like actual .begin() and .end() for my code.

Attached: Untitled.png (1519x1005, 92K)

Well the C world doesn't really work with stuff like that, for C++ there's std::filesystem like OP mentioned but like someone said that all came from boost so it can be convoluted as fuck sometimes