There are no file system objects in the C ++ standard. For him, there is a technical specification that may be included in a future version of C ++.
Until then, you will have to use platform-specific functions or the library that wraps them. Apparently, the new proposal is almost the same as the boost API, so I recommend using boost even if its ubiquity was no longer good enough.
source share