|
1088 | 1088 | explicit operator bool() const noexcept; |
1089 | 1089 |
|
1090 | 1090 | private: |
1091 | | - int val_; // \expos |
1092 | | - const error_category* cat_; // \expos |
| 1091 | + int @\exposid{val_}@; // \expos |
| 1092 | + const error_category* @\exposid{cat_}@; // \expos |
1093 | 1093 | }; |
1094 | 1094 |
|
1095 | 1095 | // \ref{syserr.errcode.nonmembers}, non-member functions |
|
1111 | 1111 | \begin{itemdescr} |
1112 | 1112 | \pnum |
1113 | 1113 | \effects |
1114 | | -Initializes \tcode{val_} with \tcode{0} |
1115 | | -and \tcode{cat_} with \tcode{\&system_category()}. |
| 1114 | +Initializes \exposid{val_} with \tcode{0} |
| 1115 | +and \exposid{cat_} with \tcode{\&system_category()}. |
1116 | 1116 | \end{itemdescr} |
1117 | 1117 |
|
1118 | 1118 | \indexlibraryctor{error_code}% |
|
1123 | 1123 | \begin{itemdescr} |
1124 | 1124 | \pnum |
1125 | 1125 | \effects |
1126 | | -Initializes \tcode{val_} with \tcode{val} |
1127 | | -and \tcode{cat_} with \tcode{\&cat}. |
| 1126 | +Initializes \exposid{val_} with \tcode{val} |
| 1127 | +and \exposid{cat_} with \tcode{\&cat}. |
1128 | 1128 | \end{itemdescr} |
1129 | 1129 |
|
1130 | 1130 | \indexlibraryctor{error_code}% |
|
1157 | 1157 | \begin{itemdescr} |
1158 | 1158 | \pnum |
1159 | 1159 | \ensures |
1160 | | -\tcode{val_ == val} and \tcode{cat_ == \&cat}. |
| 1160 | +\tcode{\exposid{val_} == val} and \tcode{\exposid{cat_} == \&cat}. |
1161 | 1161 | \end{itemdescr} |
1162 | 1162 |
|
1163 | 1163 | \indexlibrarymember{operator=}{error_code}% |
|
1206 | 1206 | \begin{itemdescr} |
1207 | 1207 | \pnum |
1208 | 1208 | \returns |
1209 | | -\tcode{val_}. |
| 1209 | +\exposid{val_}. |
1210 | 1210 | \end{itemdescr} |
1211 | 1211 |
|
1212 | 1212 | \indexlibrarymember{category}{error_code}% |
|
1217 | 1217 | \begin{itemdescr} |
1218 | 1218 | \pnum |
1219 | 1219 | \returns |
1220 | | -\tcode{*cat_}. |
| 1220 | +\tcode{*\exposid{cat_}}. |
1221 | 1221 | \end{itemdescr} |
1222 | 1222 |
|
1223 | 1223 | \indexlibrarymember{default_error_condition}{error_code}% |
|
1315 | 1315 | explicit operator bool() const noexcept; |
1316 | 1316 |
|
1317 | 1317 | private: |
1318 | | - int val_; // \expos |
1319 | | - const error_category* cat_; // \expos |
| 1318 | + int @\exposid{val_}@; // \expos |
| 1319 | + const error_category* @\exposid{cat_}@; // \expos |
1320 | 1320 | }; |
1321 | 1321 | } |
1322 | 1322 | \end{codeblock} |
|
1331 | 1331 | \begin{itemdescr} |
1332 | 1332 | \pnum |
1333 | 1333 | \effects |
1334 | | -Initializes \tcode{val_} with \tcode{0} |
1335 | | -and \tcode{cat_} with \tcode{\&generic_category()}. |
| 1334 | +Initializes \exposid{val_} with \tcode{0} |
| 1335 | +and \exposid{cat_} with \tcode{\&generic_category()}. |
1336 | 1336 | \end{itemdescr} |
1337 | 1337 |
|
1338 | 1338 | \indexlibraryctor{error_condition}% |
|
1343 | 1343 | \begin{itemdescr} |
1344 | 1344 | \pnum |
1345 | 1345 | \effects |
1346 | | -Initializes \tcode{val_} with \tcode{val} |
1347 | | -and \tcode{cat_} with \tcode{\&cat}. |
| 1346 | +Initializes \exposid{val_} with \tcode{val} |
| 1347 | +and \exposid{cat_} with \tcode{\&cat}. |
1348 | 1348 | \end{itemdescr} |
1349 | 1349 |
|
1350 | 1350 | \indexlibraryctor{error_condition}% |
|
1378 | 1378 | \begin{itemdescr} |
1379 | 1379 | \pnum |
1380 | 1380 | \ensures |
1381 | | -\tcode{val_ == val} and \tcode{cat_ == \&cat}. |
| 1381 | +\tcode{\exposid{val_} == val} and \tcode{\exposid{cat_} == \&cat}. |
1382 | 1382 | \end{itemdescr} |
1383 | 1383 |
|
1384 | 1384 | \indexlibrarymember{operator=}{error_condition}% |
|
1426 | 1426 | \begin{itemdescr} |
1427 | 1427 | \pnum |
1428 | 1428 | \returns |
1429 | | -\tcode{val_}. |
| 1429 | +\exposid{val_}. |
1430 | 1430 | \end{itemdescr} |
1431 | 1431 |
|
1432 | 1432 | \indexlibrarymember{category}{error_condition}% |
|
1437 | 1437 | \begin{itemdescr} |
1438 | 1438 | \pnum |
1439 | 1439 | \returns |
1440 | | -\tcode{*cat_}. |
| 1440 | +\tcode{*\exposid{cat_}}. |
1441 | 1441 | \end{itemdescr} |
1442 | 1442 |
|
1443 | 1443 | \indexlibrarymember{message}{error_condition}% |
|
1998 | 1998 | allocator_traits<Allocator>::is_always_equal::value); |
1999 | 1999 |
|
2000 | 2000 | private: |
2001 | | - vector<value_type, allocator_type> frames_; // \expos |
| 2001 | + vector<value_type, allocator_type> @\exposid{frames_}@; // \expos |
2002 | 2002 | }; |
2003 | 2003 | } |
2004 | 2004 | \end{codeblock} |
|
2030 | 2030 | \pnum |
2031 | 2031 | \returns |
2032 | 2032 | A \tcode{basic_stacktrace} object |
2033 | | -with \tcode{frames_} storing |
| 2033 | +with \exposid{frames_} storing |
2034 | 2034 | the stacktrace of the current evaluation in the current thread of execution, or |
2035 | 2035 | an empty \tcode{basic_stacktrace} object |
2036 | | -if the initialization of \tcode{frames_} failed. |
2037 | | -\tcode{alloc} is passed to the constructor of the \tcode{frames_} object. |
| 2036 | +if the initialization of \exposid{frames_} failed. |
| 2037 | +\tcode{alloc} is passed to the constructor of the \exposid{frames_} object. |
2038 | 2038 |
|
2039 | 2039 | \begin{note} |
2040 | 2040 | If the stacktrace was successfully obtained, |
2041 | | -then \tcode{frames_.front()} is the \tcode{stacktrace_entry} |
| 2041 | +then \tcode{\exposid{frames_}.front()} is the \tcode{stacktrace_entry} |
2042 | 2042 | representing approximately the current evaluation, and |
2043 | | -\tcode{frames_.back()} is the \tcode{stacktrace_entry} |
| 2043 | +\tcode{\exposid{frames_}.back()} is the \tcode{stacktrace_entry} |
2044 | 2044 | representing approximately the initial function of |
2045 | 2045 | the current thread of execution. |
2046 | 2046 | \end{note} |
|
2061 | 2061 | \pnum |
2062 | 2062 | \returns |
2063 | 2063 | A \tcode{basic_stacktrace} object |
2064 | | -where \tcode{frames_} is direct-non-list-initialized from arguments |
| 2064 | +where \exposid{frames_} is direct-non-list-initialized from arguments |
2065 | 2065 | \tcode{t.begin() + min(n, skip)}, \tcode{t.end()}, and \tcode{alloc}, |
2066 | 2066 | or an empty \tcode{basic_stacktrace} object |
2067 | | -if the initialization of \tcode{frames_} failed. |
| 2067 | +if the initialization of \exposid{frames_} failed. |
2068 | 2068 | \end{itemdescr} |
2069 | 2069 |
|
2070 | 2070 | \indexlibrarymember{current}{basic_stacktrace}% |
|
2086 | 2086 | \pnum |
2087 | 2087 | \returns |
2088 | 2088 | A \tcode{basic_stacktrace} object |
2089 | | -where \tcode{frames_} is direct-non-list-initialized from arguments |
| 2089 | +where \exposid{frames_} is direct-non-list-initialized from arguments |
2090 | 2090 | \tcode{t.begin() + min(n, skip)}, \tcode{t.begin() + min(n, skip + max_depth)}, |
2091 | 2091 | and \tcode{alloc}, |
2092 | 2092 | or an empty \tcode{basic_stacktrace} object |
2093 | | -if the initialization of \tcode{frames_} failed. |
| 2093 | +if the initialization of \exposid{frames_} failed. |
2094 | 2094 | \end{itemdescr} |
2095 | 2095 |
|
2096 | 2096 | \indexlibraryctor{basic_stacktrace}% |
|
2112 | 2112 | \begin{itemdescr} |
2113 | 2113 | \pnum |
2114 | 2114 | \effects |
2115 | | -\tcode{alloc} is passed to the \tcode{frames_} constructor. |
| 2115 | +\tcode{alloc} is passed to the \exposid{frames_} constructor. |
2116 | 2116 |
|
2117 | 2117 | \pnum |
2118 | 2118 | \ensures |
|
2162 | 2162 | \begin{itemdescr} |
2163 | 2163 | \pnum |
2164 | 2164 | \returns |
2165 | | -\tcode{frames_.get_allocator()}. |
| 2165 | +\tcode{\exposid{frames_}.get_allocator()}. |
2166 | 2166 | \end{itemdescr} |
2167 | 2167 |
|
2168 | 2168 | \indexlibrarymember{begin}{basic_stacktrace}% |
|
2175 | 2175 | \begin{itemdescr} |
2176 | 2176 | \pnum |
2177 | 2177 | \returns |
2178 | | -An iterator referring to the first element in \tcode{frames_}. |
| 2178 | +An iterator referring to the first element in \exposid{frames_}. |
2179 | 2179 | If \tcode{empty()} is \tcode{true}, |
2180 | 2180 | then it returns the same value as \tcode{end()}. |
2181 | 2181 | \end{itemdescr} |
|
2227 | 2227 | \begin{itemdescr} |
2228 | 2228 | \pnum |
2229 | 2229 | \returns |
2230 | | -\tcode{frames_.empty()}. |
| 2230 | +\tcode{\exposid{frames_}.empty()}. |
2231 | 2231 | \end{itemdescr} |
2232 | 2232 |
|
2233 | 2233 | \indexlibrarymember{size}{basic_stacktrace}% |
|
2238 | 2238 | \begin{itemdescr} |
2239 | 2239 | \pnum |
2240 | 2240 | \returns |
2241 | | -\tcode{frames_.size()}. |
| 2241 | +\tcode{\exposid{frames_}.size()}. |
2242 | 2242 | \end{itemdescr} |
2243 | 2243 |
|
2244 | 2244 | \indexlibrarymember{max_size}{basic_stacktrace}% |
|
2249 | 2249 | \begin{itemdescr} |
2250 | 2250 | \pnum |
2251 | 2251 | \returns |
2252 | | -\tcode{frames_.max_size()}. |
| 2252 | +\tcode{\exposid{frames_}.max_size()}. |
2253 | 2253 | \end{itemdescr} |
2254 | 2254 |
|
2255 | 2255 | \indexlibrarymember{operator[]}{basic_stacktrace}% |
|
2264 | 2264 |
|
2265 | 2265 | \pnum |
2266 | 2266 | \returns |
2267 | | -\tcode{frames_[frame_no]}. |
| 2267 | +\tcode{\exposid{frames_}[frame_no]}. |
2268 | 2268 |
|
2269 | 2269 | \pnum |
2270 | 2270 | \throws |
|
2279 | 2279 | \begin{itemdescr} |
2280 | 2280 | \pnum |
2281 | 2281 | \returns |
2282 | | -\tcode{frames_[frame_no]}. |
| 2282 | +\tcode{\exposid{frames_}[frame_no]}. |
2283 | 2283 |
|
2284 | 2284 | \pnum |
2285 | 2285 | \throws |
|
0 commit comments