forked from boostorg/container
Fixes #184 ("Issues with custom exceptions implementation")
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user