diff --git a/include/boost/container/string.hpp b/include/boost/container/string.hpp index b6c0aaf..60ba890 100644 --- a/include/boost/container/string.hpp +++ b/include/boost/container/string.hpp @@ -49,11 +49,11 @@ #include #include -#include +#include -#include -#include -#include +#include //char_traits +#include +#include // #include #include #include @@ -1334,7 +1334,7 @@ class basic_string //! Effects: Returns a reference to the nth element //! from the beginning of the container. //! - //! Throws: std::range_error if n >= size() + //! Throws: range_error if n >= size() //! //! Complexity: Constant. BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE @@ -1350,7 +1350,7 @@ class basic_string //! Effects: Returns a const reference to the nth element //! from the beginning of the container. //! - //! Throws: std::range_error if n >= size() + //! Throws: range_error if n >= size() //! //! Complexity: Constant. BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE