Skip to content

Commit 66260fd

Browse files
author
Colin Robertson
committed
tweaks
1 parent 09813c8 commit 66260fd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/standard-library/filesystem.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Include the header <filesystem> for access to classes and functions that mani
1414

1515
```cpp
1616
#include <filesystem> // C++17 standard header file name
17-
18-
#include <experimental/filesystem> // C++ experimental TS header file name
17+
#include <experimental/filesystem> // Header file for pre-standard implementation
1918
using namespace std::experimental::filesystem::v1;
2019
```
2120
@@ -75,9 +74,9 @@ Common to both systems is the structure imposed on a pathname once you get past
7574
7675
- The extension is `.ext`.
7776
78-
A minor difference is the *preferred separator* between the sequence of directories in a pathname. Both operating systems let you write a forward slash `/`, but in some contexts Windows prefers a backslash `\`.
77+
A minor difference is the preferred separator between the sequence of directories in a pathname. Both operating systems let you write a forward slash `/`, but in some contexts Windows prefers a backslash `\`. The implementation stores its preferred separator in the static constexpr data member `preferred_separator` in `path`.
7978
80-
Finally, `path` objects have an important feature: You can use them wherever a filename argument is required in the classes defined in the header \<fstream>.
79+
Finally, `path` objects have an important feature: You can use them wherever a filename argument is required in the classes defined in the header [\<fstream>](fstream.md).
8180
8281
For more information and code examples, see [File system navigation (C++)](../standard-library/file-system-navigation.md).
8382

0 commit comments

Comments
 (0)