summaryrefslogtreecommitdiff
path: root/boost/container/static_vector.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:33:54 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:36:09 +0900
commitd9ec475d945d3035377a0d89ed42e382d8988891 (patch)
tree34aff2cee4b209906243ab5499d61f3edee2982f /boost/container/static_vector.hpp
parent71d216b90256936a9638f325af9bc69d720e75de (diff)
downloadboost-d9ec475d945d3035377a0d89ed42e382d8988891.tar.gz
boost-d9ec475d945d3035377a0d89ed42e382d8988891.tar.bz2
boost-d9ec475d945d3035377a0d89ed42e382d8988891.zip
Imported Upstream version 1.60.0
Change-Id: Ie709530d6d5841088ceaba025cbe175a4ef43050 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/container/static_vector.hpp')
-rw-r--r--boost/container/static_vector.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/container/static_vector.hpp b/boost/container/static_vector.hpp
index c36832dfa3..69540dcc7b 100644
--- a/boost/container/static_vector.hpp
+++ b/boost/container/static_vector.hpp
@@ -48,7 +48,7 @@ class static_storage_allocator
{}
static_storage_allocator & operator=(const static_storage_allocator &) BOOST_NOEXCEPT_OR_NOTHROW
- {}
+ { return *this; }
T* internal_storage() const BOOST_NOEXCEPT_OR_NOTHROW
{ return const_cast<T*>(static_cast<const T*>(static_cast<const void*>(&storage))); }
@@ -645,7 +645,7 @@ public:
//!
//! @brief Assigns a range <tt>[il.begin(), il.end())</tt> of Values to this container.
//!
- //! @param first std::initializer_list with values used to construct new content of this container.
+ //! @param il std::initializer_list with values used to construct new content of this container.
//!
//! @par Throws
//! If Value's copy constructor or copy assignment throws,
@@ -809,7 +809,7 @@ public:
//!
//! @brief Returns the index of the element pointed by p.
//!
- //! @param i The element's index.
+ //! @param p An iterator to the element.
//!
//! @return The index of the element pointed by p.
//!
@@ -824,7 +824,7 @@ public:
//!
//! @brief Returns the index of the element pointed by p.
//!
- //! @param i The index of the element pointed by p.
+ //! @param p A const_iterator to the element.
//!
//! @return a const_iterator to the i-th element.
//!