Skip to content

Commit ed34aa6

Browse files
author
Dawn Perchik
committed
LWG2956 filesystem::canonical() still defined in terms of absolute(p, base)
1 parent ee7cfd9 commit ed34aa6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

source/iostreams.tex

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10259,9 +10259,8 @@
1025910259
path absolute(const path& p);
1026010260
path absolute(const path& p, error_code& ec);
1026110261

10262-
path canonical(const path& p, const path& base = current_path());
10262+
path canonical(const path& p);
1026310263
path canonical(const path& p, error_code& ec);
10264-
path canonical(const path& p, const path& base, error_code& ec);
1026510264

1026610265
void copy(const path& from, const path& to);
1026710266
void copy(const path& from, const path& to, error_code& ec) noexcept;
@@ -13781,9 +13780,8 @@
1378113780

1378213781
\indexlibrary{\idxcode{canonical}}%
1378313782
\begin{itemdecl}
13784-
path canonical(const path& p, const path& base = current_path());
13783+
path canonical(const path& p);
1378513784
path canonical(const path& p, error_code& ec);
13786-
path canonical(const path& p, const path& base, error_code& ec);
1378713785
\end{itemdecl}
1378813786

1378913787
\begin{itemdescr}
@@ -13794,9 +13792,8 @@
1379413792

1379513793
\pnum
1379613794
\returns A path that refers to
13797-
the same file system object as \tcode{absolute(p, base)}. For the overload
13798-
without a \tcode{base} argument, \tcode{base} is \tcode{current_path()}.
13799-
Signatures with argument \tcode{ec} return \tcode{path()} if an error occurs.
13795+
the same file system object as \tcode{absolute(p)}.
13796+
The signature with argument \tcode{ec} returns \tcode{path()} if an error occurs.
1380013797

1380113798
\pnum
1380213799
\throws As specified in~\ref{fs.err.report}.

0 commit comments

Comments
 (0)