Skip to content

Commit f81a09d

Browse files
Mention that the STL doesn't throw domain_error or underflow_error.
1 parent 304c6ea commit f81a09d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/standard-library/domain-error-class.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public:
2626
2727
The value returned by `what()` is a copy of `message.data()`. For more information, see [`what`](../standard-library/exception-class.md) and [`data`](../standard-library/basic-string-class.md#data).
2828
29+
`domain_error` isn't thrown by any functions in Microsoft's implementation of the C++ Standard Library, but may be thrown by third-party libraries or user code.
30+
2931
## Example
3032
3133
```cpp

docs/standard-library/underflow-error-class.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public:
2626
2727
The value returned by `what()` is a copy of `message.data()`. For more information, see [`what`](../standard-library/exception-class.md) and [`data`](../standard-library/basic-string-class.md#data).
2828
29+
`underflow_error` isn't thrown by any functions in Microsoft's implementation of the C++ Standard Library, but may be thrown by third-party libraries or user code.
30+
2931
## Example
3032
3133
```cpp

0 commit comments

Comments
 (0)