forked from boostorg/container
Correct "throws" part of several operations as the library by default throws its own exception types.
This commit is contained in:
1 parent
ba23ac1a5a
commit
d6a270e8e1
4 files changed
+8
-8
No files matched your search
@@ -1732,7 +1732,7 @@ private:
|
||||
//! <b>Effects</b>: Returns a reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
//!
|
||||
//! <b>Throws</b>: std::range_error if n >= size()
|
||||
//! <b>Throws</b>: range_error if n >= size()
|
||||
//!
|
||||
//! <b>Complexity</b>: Constant.
|
||||
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference at(size_type n)
|
||||
@@ -1746,7 +1746,7 @@ private:
|
||||
//! <b>Effects</b>: Returns a const reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
//!
|
||||
//! <b>Throws</b>: std::range_error if n >= size()
|
||||
//! <b>Throws</b>: range_error if n >= size()
|
||||
//!
|
||||
//! <b>Complexity</b>: Constant.
|
||||
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference at(size_type n) const
|
||||
|
||||
Reference in new issue
Block a user