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
+4 -4
View File
@@ -137,10 +137,10 @@ struct get_static_vector_allocator
//!possible.
//!
//!@par Error Handling
//! Insertion beyond the capacity result in throwing std::bad_alloc() if exceptions are enabled or
//! Insertion beyond the capacity result in throwing bad_alloc() if exceptions are enabled or
//! calling throw_bad_alloc() if not enabled.
//!
//! std::out_of_range is thrown if out of bounds access is performed in <code>at()</code> if exceptions are
//! out_of_range is thrown if out of bounds access is performed in <code>at()</code> if exceptions are
//! enabled, throw_out_of_range() if not enabled.
//!
//!@tparam T The type of element that will be stored.
@@ -788,7 +788,7 @@ public:
//! from the beginning of the container.
//!
//! @par Throws
//! \c std::out_of_range exception by default.
//! \c out_of_range exception by default.
//!
//! @par Complexity
//! Constant O(1).
@@ -804,7 +804,7 @@ public:
//! from the beginning of the container.
//!
//! @par Throws
//! \c std::out_of_range exception by default.
//! \c out_of_range exception by default.
//!
//! @par Complexity
//! Constant O(1).