mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Correct includes: <algorithm> is not used and <string> is needed for char_traits
This commit is contained in:
@@ -49,11 +49,11 @@
|
|||||||
|
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
#include <boost/core/no_exceptions_support.hpp>
|
#include <boost/core/no_exceptions_support.hpp>
|
||||||
#include <boost/functional/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <string> //char_traits
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <istream>
|
#include <istream> //
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
@@ -1334,7 +1334,7 @@ class basic_string
|
|||||||
//! <b>Effects</b>: Returns a reference to the nth element
|
//! <b>Effects</b>: Returns a reference to the nth element
|
||||||
//! from the beginning of the container.
|
//! 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.
|
//! <b>Complexity</b>: Constant.
|
||||||
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
||||||
@@ -1350,7 +1350,7 @@ class basic_string
|
|||||||
//! <b>Effects</b>: Returns a const reference to the nth element
|
//! <b>Effects</b>: Returns a const reference to the nth element
|
||||||
//! from the beginning of the container.
|
//! 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.
|
//! <b>Complexity</b>: Constant.
|
||||||
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
||||||
|
Reference in New Issue
Block a user