Fixes #184 ("Issues with custom exceptions implementation")

This commit is contained in:
Ion Gaztañaga
2021-04-19 21:52:55 +02:00
parent 2073b125f4
commit 16cada57ea
10 changed files with 67 additions and 53 deletions
+2 -2
View File
@@ -1269,7 +1269,7 @@ class devector
/**
* **Returns**: A reference to the `n`th element in the devector.
*
* **Throws**: `std::out_of_range`, if `n >= size()`.
* **Throws**: `out_of_range`, if `n >= size()`.
*
* **Complexity**: Constant.
*/
@@ -1284,7 +1284,7 @@ class devector
/**
* **Returns**: A constant reference to the `n`th element in the devector.
*
* **Throws**: `std::out_of_range`, if `n >= size()`.
* **Throws**: `out_of_range`, if `n >= size()`.
*
* **Complexity**: Constant.
*/