Skip to content

Commit 5efd609

Browse files
authored
Merge pull request MicrosoftDocs#2523 from justanotheranonymoususer/patch-1
Update path-class.md
2 parents bbbafd9 + 9ee9f63 commit 5efd609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/path-class.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class path;
4444
|[empty](#empty)|Returns `mypath.empty()`.|
4545
|[end](#end)|Returns an end-of-sequence iterator of type `iterator`.|
4646
|[extension](#extension)|Returns the suffix of `filename()`.|
47-
|[filename](#filename)|Returns the root directory component of myname, specifically `empty() path() : *--end()`. The component may be empty.|
47+
|[filename](#filename)|Returns the root directory component of myname, specifically `empty() ? path() : *--end()`. The component may be empty.|
4848
|[generic_string](#generic_string)|Returns `this->string<Elem, Traits, Alloc>(al)` with (under Windows) any backslash converted to a forward slash.|
4949
|[generic_u16string](#generic_u16string)|Returns `u16string()` with (under Windows) any backslash converted to a forward slash.|
5050
|[generic_u32string](#generic_u32string)|Returns `u32string()` with (under Windows) any backslash converted to a forward slash.|

0 commit comments

Comments
 (0)