Skip to content

Commit 85ced73

Browse files
author
Michael Blome
committed
formatting fixes
1 parent 69deda2 commit 85ced73

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

docs/standard-library/directory-entry-class.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,8 @@ bool operator>=(const directory_entry& right) const noexcept;
157157

158158
## operator const path_type&
159159

160-
``` operator const std::experimental::filesystem::v1::path&() const;
161-
162-
// retained
160+
```
161+
operator const std::experimental::filesystem::v1::path&() const;
163162
```
164163

165164
The member operator returns mypath.
@@ -175,7 +174,8 @@ const std::experimental::filesystem::v1::path& path() const noexcept;
175174
## replace_filename
176175

177176
```
178-
void replace_filename(const std::experimental::filesystem::v1::path& pval,
177+
void replace_filename(
178+
const std::experimental::filesystem::v1::path& pval,
179179
file_status stat_arg = file_status(),
180180
file_status symstat_arg = file_status());
181181
```
@@ -185,12 +185,8 @@ void replace_filename(const std::experimental::filesystem::v1::path& pval,
185185
## status
186186

187187
```
188-
file_status status() const;
189-
190-
191-
file_status status(
192-
error_code& ec) const noexcept;
193-
Otherwise, mystat = status(mypval).
188+
file_status status() const;
189+
file_status status(error_code& ec) const noexcept;
194190
```
195191

196192
Both member functions return mystat possibly first altered as follows:
@@ -202,9 +198,7 @@ Otherwise, mystat = status(mypval).
202198
## symlink_status
203199

204200
```
205-
file_status symlink_status() const;
206-
207-
201+
file_status symlink_status() const;
208202
file_status symlink_status(error_code& ec) const noexcept;
209203
```
210204

docs/standard-library/path-class-cpp-standard-template-library.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "path Class (C++ Standard Template Library) | Microsoft Docs"
2+
title: "path Class | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.prod: "visual-studio-dev14"
@@ -33,7 +33,7 @@ translation.priority.mt:
3333
- "zh-cn"
3434
- "zh-tw"
3535
---
36-
# path Class (C++ Standard Template Library)
36+
# path Class
3737
The **path** class stores an object of type string_type, called myname here for the purposes of exposition, suitable for use as a pathname. string_type is a synonym for basic_string<value_type>, where value_type is a synonym for char under Windows or wchar_t under Posix.
3838

3939
For more information, and code examples, see [File System Navigation (C++)](../standard-library/file-system-navigation.md).

0 commit comments

Comments
 (0)