Skip to content

Commit 6ca5523

Browse files
committed
[fstream], [fs.class.directory_entry] qualify filesystem::path consistently
1 parent b4acb0c commit 6ca5523

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

source/iostreams.tex

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9677,7 +9677,7 @@
96779677
const char* s,
96789678
ios_base::openmode mode = ios_base::in | ios_base::out);
96799679
explicit basic_fstream(
9680-
const std::filesystem::path::value_type* s,
9680+
const filesystem::path::value_type* s,
96819681
ios_base::openmode mode = ios_base::in|ios_base::out); // wide systems only; see \ref{fstream.syn}
96829682
explicit basic_fstream(
96839683
const string& s,
@@ -9700,7 +9700,7 @@
97009700
const char* s,
97019701
ios_base::openmode mode = ios_base::in | ios_base::out);
97029702
void open(
9703-
const std::filesystem::path::value_type* s,
9703+
const filesystem::path::value_type* s,
97049704
ios_base::openmode mode = ios_base::in|ios_base::out); // wide systems only; see \ref{fstream.syn}
97059705
void open(
97069706
const string& s,
@@ -12675,25 +12675,25 @@
1267512675
directory_entry() noexcept = default;
1267612676
directory_entry(const directory_entry&) = default;
1267712677
directory_entry(directory_entry&&) noexcept = default;
12678-
explicit directory_entry(const path& p);
12679-
directory_entry(const path& p, error_code& ec);
12678+
explicit directory_entry(const filesystem::path& p);
12679+
directory_entry(const filesystem::path& p, error_code& ec);
1268012680
~directory_entry();
1268112681

1268212682
// assignments:
1268312683
directory_entry& operator=(const directory_entry&) = default;
1268412684
directory_entry& operator=(directory_entry&&) noexcept = default;
1268512685

1268612686
// \ref{fs.dir.entry.mods}, modifiers
12687-
void assign(const path& p);
12688-
void assign(const path& p, error_code& ec);
12689-
void replace_filename(const path& p);
12690-
void replace_filename(const path& p, error_code& ec);
12687+
void assign(const filesystem::path& p);
12688+
void assign(const filesystem::path& p, error_code& ec);
12689+
void replace_filename(const filesystem::path& p);
12690+
void replace_filename(const filesystem::path& p, error_code& ec);
1269112691
void refresh();
1269212692
void refresh(error_code& ec) noexcept;
1269312693

1269412694
// \ref{fs.dir.entry.obs}, observers
12695-
const path& path() const noexcept;
12696-
operator const path&() const noexcept;
12695+
const filesystem::path& path() const noexcept;
12696+
operator const filesystem::path&() const noexcept;
1269712697
bool exists() const;
1269812698
bool exists(error_code& ec) const noexcept;
1269912699
bool is_block_file() const;
@@ -12731,7 +12731,7 @@
1273112731
bool operator>=(const directory_entry& rhs) const noexcept;
1273212732

1273312733
private:
12734-
path pathobject; // \expos
12734+
filesystem::path pathobject; // \expos
1273512735
friend class directory_iterator; // \expos
1273612736
};
1273712737
}
@@ -12796,8 +12796,8 @@
1279612796

1279712797
\indexlibrary{\idxcode{directory_entry}!constructor}%
1279812798
\begin{itemdecl}
12799-
explicit directory_entry(const path& p);
12800-
directory_entry(const path& p, error_code& ec);
12799+
explicit directory_entry(const filesystem::path& p);
12800+
directory_entry(const filesystem::path& p, error_code& ec);
1280112801
\end{itemdecl}
1280212802

1280312803
\begin{itemdescr}
@@ -12807,7 +12807,7 @@
1280712807

1280812808
\pnum
1280912809
\postconditions \tcode{path() == p} if no error occurs,
12810-
otherwise \tcode{path() == std::filesystem::path()}.
12810+
otherwise \tcode{path() == filesystem::path()}.
1281112811

1281212812
\pnum
1281312813
\throws As specified in~\ref{fs.err.report}.
@@ -12817,8 +12817,8 @@
1281712817

1281812818
\indexlibrarymember{assign}{directory_entry}%
1281912819
\begin{itemdecl}
12820-
void assign(const path& p);
12821-
void assign(const path& p, error_code& ec);
12820+
void assign(const filesystem::path& p);
12821+
void assign(const filesystem::path& p, error_code& ec);
1282212822
\end{itemdecl}
1282312823

1282412824
\begin{itemdescr}
@@ -12833,8 +12833,8 @@
1283312833

1283412834
\indexlibrarymember{replace_filename}{directory_entry}%
1283512835
\begin{itemdecl}
12836-
void replace_filename(const path& p);
12837-
void replace_filename(const path& p, error_code& ec);
12836+
void replace_filename(const filesystem::path& p);
12837+
void replace_filename(const filesystem::path& p, error_code& ec);
1283812838
\end{itemdecl}
1283912839

1284012840
\begin{itemdescr}
@@ -12878,10 +12878,10 @@
1287812878
\tcode{std::filesystem} namespace.
1287912879

1288012880
\indexlibrarymember{path}{directory_entry}%
12881-
\indexlibrarymember{operator const path\&}{directory_entry}%
12881+
\indexlibrarymember{operator const filesystem::path\&}{directory_entry}%
1288212882
\begin{itemdecl}
12883-
const path& path() const noexcept;
12884-
operator const path&() const noexcept;
12883+
const filesystem::path& path() const noexcept;
12884+
operator const filesystem::path&() const noexcept;
1288512885
\end{itemdecl}
1288612886

1288712887
\begin{itemdescr}

0 commit comments

Comments
 (0)