|
9677 | 9677 | const char* s,
|
9678 | 9678 | ios_base::openmode mode = ios_base::in | ios_base::out);
|
9679 | 9679 | explicit basic_fstream(
|
9680 |
| - const std::filesystem::path::value_type* s, |
| 9680 | + const filesystem::path::value_type* s, |
9681 | 9681 | ios_base::openmode mode = ios_base::in|ios_base::out); // wide systems only; see \ref{fstream.syn}
|
9682 | 9682 | explicit basic_fstream(
|
9683 | 9683 | const string& s,
|
|
9700 | 9700 | const char* s,
|
9701 | 9701 | ios_base::openmode mode = ios_base::in | ios_base::out);
|
9702 | 9702 | void open(
|
9703 |
| - const std::filesystem::path::value_type* s, |
| 9703 | + const filesystem::path::value_type* s, |
9704 | 9704 | ios_base::openmode mode = ios_base::in|ios_base::out); // wide systems only; see \ref{fstream.syn}
|
9705 | 9705 | void open(
|
9706 | 9706 | const string& s,
|
@@ -12675,25 +12675,25 @@
|
12675 | 12675 | directory_entry() noexcept = default;
|
12676 | 12676 | directory_entry(const directory_entry&) = default;
|
12677 | 12677 | 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); |
12680 | 12680 | ~directory_entry();
|
12681 | 12681 |
|
12682 | 12682 | // assignments:
|
12683 | 12683 | directory_entry& operator=(const directory_entry&) = default;
|
12684 | 12684 | directory_entry& operator=(directory_entry&&) noexcept = default;
|
12685 | 12685 |
|
12686 | 12686 | // \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); |
12691 | 12691 | void refresh();
|
12692 | 12692 | void refresh(error_code& ec) noexcept;
|
12693 | 12693 |
|
12694 | 12694 | // \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; |
12697 | 12697 | bool exists() const;
|
12698 | 12698 | bool exists(error_code& ec) const noexcept;
|
12699 | 12699 | bool is_block_file() const;
|
|
12731 | 12731 | bool operator>=(const directory_entry& rhs) const noexcept;
|
12732 | 12732 |
|
12733 | 12733 | private:
|
12734 |
| - path pathobject; // \expos |
| 12734 | + filesystem::path pathobject; // \expos |
12735 | 12735 | friend class directory_iterator; // \expos
|
12736 | 12736 | };
|
12737 | 12737 | }
|
|
12796 | 12796 |
|
12797 | 12797 | \indexlibrary{\idxcode{directory_entry}!constructor}%
|
12798 | 12798 | \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); |
12801 | 12801 | \end{itemdecl}
|
12802 | 12802 |
|
12803 | 12803 | \begin{itemdescr}
|
|
12807 | 12807 |
|
12808 | 12808 | \pnum
|
12809 | 12809 | \postconditions \tcode{path() == p} if no error occurs,
|
12810 |
| -otherwise \tcode{path() == std::filesystem::path()}. |
| 12810 | +otherwise \tcode{path() == filesystem::path()}. |
12811 | 12811 |
|
12812 | 12812 | \pnum
|
12813 | 12813 | \throws As specified in~\ref{fs.err.report}.
|
|
12817 | 12817 |
|
12818 | 12818 | \indexlibrarymember{assign}{directory_entry}%
|
12819 | 12819 | \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); |
12822 | 12822 | \end{itemdecl}
|
12823 | 12823 |
|
12824 | 12824 | \begin{itemdescr}
|
|
12833 | 12833 |
|
12834 | 12834 | \indexlibrarymember{replace_filename}{directory_entry}%
|
12835 | 12835 | \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); |
12838 | 12838 | \end{itemdecl}
|
12839 | 12839 |
|
12840 | 12840 | \begin{itemdescr}
|
@@ -12878,10 +12878,10 @@
|
12878 | 12878 | \tcode{std::filesystem} namespace.
|
12879 | 12879 |
|
12880 | 12880 | \indexlibrarymember{path}{directory_entry}%
|
12881 |
| -\indexlibrarymember{operator const path\&}{directory_entry}% |
| 12881 | +\indexlibrarymember{operator const filesystem::path\&}{directory_entry}% |
12882 | 12882 | \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; |
12885 | 12885 | \end{itemdecl}
|
12886 | 12886 |
|
12887 | 12887 | \begin{itemdescr}
|
|
0 commit comments