C++: Difference between revisions

6 bytes removed ,  13 April 2020
Line 95: Line 95:
Convenient functions for filesystem. Added since C++17.
Convenient functions for filesystem. Added since C++17.
====Path====
====Path====
[https://en.cppreference.com/w/cpp/filesystem/path cppreference]<br>
[https://en.cppreference.com/w/cpp/filesystem/path cppreference]
Note if you use g++ <= version 9, you will need to add the flag <code>-lstdc++fs</code>.<br>
 
Note if you use g++ <= version 9, you will need to add the flag <code>-lstdc++fs</code>.
 
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
using std::filesystem::path;
using std::filesystem::path;