Documentation fix. Ticket 6499

[SVN r76828]
This commit is contained in:
Ion Gaztañaga
2012-02-01 22:11:53 +00:00
parent 868c90d658
commit e667ab4a67
4 changed files with 17 additions and 17 deletions

View File

@@ -715,7 +715,7 @@ class deque : protected deque_base<T, A>
const_reverse_iterator crend() const BOOST_CONTAINER_NOEXCEPT const_reverse_iterator crend() const BOOST_CONTAINER_NOEXCEPT
{ return const_reverse_iterator(this->members_.m_start); } { return const_reverse_iterator(this->members_.m_start); }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -726,7 +726,7 @@ class deque : protected deque_base<T, A>
reference operator[](size_type n) BOOST_CONTAINER_NOEXCEPT reference operator[](size_type n) BOOST_CONTAINER_NOEXCEPT
{ return this->members_.m_start[difference_type(n)]; } { return this->members_.m_start[difference_type(n)]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -737,7 +737,7 @@ class deque : protected deque_base<T, A>
const_reference operator[](size_type n) const BOOST_CONTAINER_NOEXCEPT const_reference operator[](size_type n) const BOOST_CONTAINER_NOEXCEPT
{ return this->members_.m_start[difference_type(n)]; } { return this->members_.m_start[difference_type(n)]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -748,7 +748,7 @@ class deque : protected deque_base<T, A>
reference at(size_type n) reference at(size_type n)
{ this->priv_range_check(n); return (*this)[n]; } { this->priv_range_check(n); return (*this)[n]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.

View File

@@ -927,7 +927,7 @@ class stable_vector
} }
} }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -937,7 +937,7 @@ class stable_vector
//! <b>Complexity</b>: Constant. //! <b>Complexity</b>: Constant.
reference operator[](size_type n){return value(impl[n]);} reference operator[](size_type n){return value(impl[n]);}
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -947,7 +947,7 @@ class stable_vector
//! <b>Complexity</b>: Constant. //! <b>Complexity</b>: Constant.
const_reference operator[](size_type n)const{return value(impl[n]);} const_reference operator[](size_type n)const{return value(impl[n]);}
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -962,12 +962,12 @@ class stable_vector
return operator[](n); return operator[](n);
} }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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>: Nothing. //! <b>Throws</b>: std::range_error if n >= size()
//! //!
//! <b>Complexity</b>: Constant. //! <b>Complexity</b>: Constant.
const_reference at(size_type n)const const_reference at(size_type n)const

View File

@@ -1021,7 +1021,7 @@ class basic_string
bool empty() const bool empty() const
{ return !this->priv_size(); } { return !this->priv_size(); }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -1032,7 +1032,7 @@ class basic_string
reference operator[](size_type n) reference operator[](size_type n)
{ return *(this->priv_addr() + n); } { return *(this->priv_addr() + n); }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -1043,7 +1043,7 @@ class basic_string
const_reference operator[](size_type n) const const_reference operator[](size_type n) const
{ return *(this->priv_addr() + n); } { return *(this->priv_addr() + n); }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -1057,7 +1057,7 @@ class basic_string
return *(this->priv_addr() + n); return *(this->priv_addr() + n);
} }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.

View File

@@ -758,7 +758,7 @@ class vector : private container_detail::vector_alloc_holder<A>
bool empty() const BOOST_CONTAINER_NOEXCEPT bool empty() const BOOST_CONTAINER_NOEXCEPT
{ return !this->members_.m_size; } { return !this->members_.m_size; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -769,7 +769,7 @@ class vector : private container_detail::vector_alloc_holder<A>
reference operator[](size_type n) reference operator[](size_type n)
{ return this->members_.m_start[n]; } { return this->members_.m_start[n]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -780,7 +780,7 @@ class vector : private container_detail::vector_alloc_holder<A>
const_reference operator[](size_type n) const BOOST_CONTAINER_NOEXCEPT const_reference operator[](size_type n) const BOOST_CONTAINER_NOEXCEPT
{ return this->members_.m_start[n]; } { return this->members_.m_start[n]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.
@@ -791,7 +791,7 @@ class vector : private container_detail::vector_alloc_holder<A>
reference at(size_type n) reference at(size_type n)
{ this->priv_check_range(n); return this->members_.m_start[n]; } { this->priv_check_range(n); return this->members_.m_start[n]; }
//! <b>Requires</b>: size() < n. //! <b>Requires</b>: size() > n.
//! //!
//! <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.