@@ -12831,19 +12831,11 @@
12831
12831
12832
12832
\begin {itemdescr }
12833
12833
\pnum
12834
- \postconditions The postconditions of this function are indicated in
12835
- Table~\ref {tab:filesystem_error.1 }.
12836
-
12837
- \begin {floattable }
12838
- {\tcode {filesystem_error(const string\& , error_code)} effects}{tab:filesystem_error.1}
12839
- {ll}
12840
- \topline
12841
- \lhdr {Expression} & \rhdr {Value} \\ \capsep
12842
- \tcode {runtime_error::what()} & \tcode {what_arg.c_str()} \\ \rowsep
12843
- \tcode {code()} & \tcode {ec} \\ \rowsep
12844
- \tcode {path1().empty()} & \tcode {true} \\ \rowsep
12845
- \tcode {path2().empty()} & \tcode {true} \\ \rowsep
12846
- \end {floattable }
12834
+ \postconditions
12835
+ \tcode {code() == ec},
12836
+ \tcode {path1().empty() == true},
12837
+ \tcode {path2().empty() == true}, and
12838
+ \tcode {string_view(what()).find(what_arg)} \tcode {!= string_view::npos}.
12847
12839
\end {itemdescr }
12848
12840
12849
12841
\indexlibrary {\idxcode {filesystem_error}!constructor}%
@@ -12853,19 +12845,11 @@
12853
12845
12854
12846
\begin {itemdescr }
12855
12847
\pnum
12856
- \postconditions The postconditions of this function are indicated in
12857
- Table~\ref {tab:filesystem_error.2 }.
12858
-
12859
- \begin {floattable }
12860
- {\tcode {filesystem_error(const string\& , const path\& , error_code)} effects}{tab:filesystem_error.2}
12861
- {ll}
12862
- \topline
12863
- \lhdr {Expression} & \rhdr {Value} \\ \capsep
12864
- \tcode {runtime_error::what()} & \tcode {what_arg.c_str()} \\ \rowsep
12865
- \tcode {code()} & \tcode {ec} \\ \rowsep
12866
- \tcode {path1()} & Reference to stored copy of \tcode {p1} \\ \rowsep
12867
- \tcode {path2().empty()} & \tcode {true} \\ \rowsep
12868
- \end {floattable }
12848
+ \postconditions
12849
+ \tcode {code() == ec},
12850
+ \tcode {path1()} returns a reference to the stored copy of \tcode {p1},
12851
+ \tcode {path2().empty() == true}, and
12852
+ \tcode {string_view(what()).find(what_arg)} \tcode {!= string_view::npos}.
12869
12853
\end {itemdescr }
12870
12854
12871
12855
\indexlibrary {\idxcode {filesystem_error}!constructor}%
@@ -12875,19 +12859,11 @@
12875
12859
12876
12860
\begin {itemdescr }
12877
12861
\pnum
12878
- \postconditions The postconditions of this function are indicated in
12879
- Table~\ref {tab:filesystem_error.3 }.
12880
-
12881
- \begin {floattable }
12882
- {\tcode {filesystem_error(const string\& , const path\& , const path\& , error_code)} effects}{tab:filesystem_error.3}
12883
- {ll}
12884
- \topline
12885
- \lhdr {Expression} & \rhdr {Value} \\ \capsep
12886
- \tcode {runtime_error::what()} & \tcode {what_arg.c_str()} \\ \rowsep
12887
- \tcode {code()} & \tcode {ec} \\ \rowsep
12888
- \tcode {path1()} & Reference to stored copy of \tcode {p1} \\ \rowsep
12889
- \tcode {path2()} & Reference to stored copy of \tcode {p2} \\ \rowsep
12890
- \end {floattable }
12862
+ \postconditions
12863
+ \tcode {code() == ec},
12864
+ \tcode {path1()} returns a reference to the stored copy of \tcode {p1},
12865
+ \tcode {path2()} returns a reference to the stored copy of \tcode {p2}, and
12866
+ \tcode {string_view(what()).find(what_arg)} \tcode {!= string_view::npos}.
12891
12867
\end {itemdescr }
12892
12868
12893
12869
\indexlibrarymember {path1}{filesystem_error}%
12919
12895
12920
12896
\begin {itemdescr }
12921
12897
\pnum
12922
- \returns A string containing \tcode {runtime_error::what()}. The exact format is unspecified.
12898
+ \returns An \ntbs {} that incorporates
12899
+ the \tcode {what_arg} argument supplied to the constructor.
12900
+ The exact format is unspecified.
12923
12901
Implementations should include
12924
12902
the \tcode {system_error::what()} string and
12925
12903
the pathnames of \tcode {path1} and \tcode {path2}
0 commit comments