|
1133 | 1133 | template<class Rep>
|
1134 | 1134 | struct duration_values {
|
1135 | 1135 | public:
|
1136 |
| - static constexpr Rep zero(); |
1137 |
| - static constexpr Rep min(); |
1138 |
| - static constexpr Rep max(); |
| 1136 | + static constexpr Rep zero() noexcept; |
| 1137 | + static constexpr Rep min() noexcept; |
| 1138 | + static constexpr Rep max() noexcept; |
1139 | 1139 | };
|
1140 | 1140 | \end{itemdecl}
|
1141 | 1141 |
|
|
1149 | 1149 |
|
1150 | 1150 | \indexlibrarymember{zero}{duration_values}%
|
1151 | 1151 | \begin{itemdecl}
|
1152 |
| -static constexpr Rep zero(); |
| 1152 | +static constexpr Rep zero() noexcept; |
1153 | 1153 | \end{itemdecl}
|
1154 | 1154 |
|
1155 | 1155 | \begin{itemdescr}
|
|
1164 | 1164 |
|
1165 | 1165 | \indexlibrarymember{min}{duration_values}%
|
1166 | 1166 | \begin{itemdecl}
|
1167 |
| -static constexpr Rep min(); |
| 1167 | +static constexpr Rep min() noexcept; |
1168 | 1168 | \end{itemdecl}
|
1169 | 1169 |
|
1170 | 1170 | \begin{itemdescr}
|
|
1177 | 1177 |
|
1178 | 1178 | \indexlibrarymember{max}{duration_values}%
|
1179 | 1179 | \begin{itemdecl}
|
1180 |
| -static constexpr Rep max(); |
| 1180 | +static constexpr Rep max() noexcept; |
1181 | 1181 | \end{itemdecl}
|
1182 | 1182 |
|
1183 | 1183 | \begin{itemdescr}
|
|
1314 | 1314 | constexpr duration& operator%=(const duration& rhs);
|
1315 | 1315 |
|
1316 | 1316 | // \ref{time.duration.special}, special values
|
1317 |
| - static constexpr duration zero(); |
1318 |
| - static constexpr duration min(); |
1319 |
| - static constexpr duration max(); |
| 1317 | + static constexpr duration zero() noexcept; |
| 1318 | + static constexpr duration min() noexcept; |
| 1319 | + static constexpr duration max() noexcept; |
1320 | 1320 | };
|
1321 | 1321 | }
|
1322 | 1322 | \end{codeblock}
|
|
1573 | 1573 |
|
1574 | 1574 | \indexlibrarymember{zero}{duration}%
|
1575 | 1575 | \begin{itemdecl}
|
1576 |
| -static constexpr duration zero(); |
| 1576 | +static constexpr duration zero() noexcept; |
1577 | 1577 | \end{itemdecl}
|
1578 | 1578 |
|
1579 | 1579 | \begin{itemdescr}
|
|
1583 | 1583 |
|
1584 | 1584 | \indexlibrarymember{min}{duration}%
|
1585 | 1585 | \begin{itemdecl}
|
1586 |
| -static constexpr duration min(); |
| 1586 | +static constexpr duration min() noexcept; |
1587 | 1587 | \end{itemdecl}
|
1588 | 1588 |
|
1589 | 1589 | \begin{itemdescr}
|
|
1593 | 1593 |
|
1594 | 1594 | \indexlibrarymember{max}{duration}%
|
1595 | 1595 | \begin{itemdecl}
|
1596 |
| -static constexpr duration max(); |
| 1596 | +static constexpr duration max() noexcept; |
1597 | 1597 | \end{itemdecl}
|
1598 | 1598 |
|
1599 | 1599 | \begin{itemdescr}
|
|
2186 | 2186 | constexpr time_point& operator-=(const duration& d);
|
2187 | 2187 |
|
2188 | 2188 | // \ref{time.point.special}, special values
|
2189 |
| - static constexpr time_point min(); |
2190 |
| - static constexpr time_point max(); |
| 2189 | + static constexpr time_point min() noexcept; |
| 2190 | + static constexpr time_point max() noexcept; |
2191 | 2191 | };
|
2192 | 2192 | }
|
2193 | 2193 | \end{codeblock}
|
|
2333 | 2333 |
|
2334 | 2334 | \indexlibrarymember{min}{time_point}%
|
2335 | 2335 | \begin{itemdecl}
|
2336 |
| -static constexpr time_point min(); |
| 2336 | +static constexpr time_point min() noexcept; |
2337 | 2337 | \end{itemdecl}
|
2338 | 2338 |
|
2339 | 2339 | \begin{itemdescr}
|
|
2343 | 2343 |
|
2344 | 2344 | \indexlibrarymember{max}{time_point}%
|
2345 | 2345 | \begin{itemdecl}
|
2346 |
| -static constexpr time_point max(); |
| 2346 | +static constexpr time_point max() noexcept; |
2347 | 2347 | \end{itemdecl}
|
2348 | 2348 |
|
2349 | 2349 | \begin{itemdescr}
|
|
0 commit comments