fix stable_vector#index_of's doxygen comment

This commit is contained in:
Mitsuru Kariya
2015-06-02 11:22:22 +09:00
parent c37dcfb567
commit d94f52ef7d

View File

@@ -1293,11 +1293,10 @@ class stable_vector
return (this->index.empty()) ? this->cend() : iterator(node_ptr_traits::static_cast_from(this->index[n]));
}
//! <b>Requires</b>: size() >= n.
//! <b>Requires</b>: begin() <= p <= end().
//!
//! <b>Effects</b>: Returns an iterator to the nth element
//! from the beginning of the container. Returns end()
//! if n == size().
//! <b>Effects</b>: Returns the index of the element pointed by p
//! and size() if p == end().
//!
//! <b>Throws</b>: Nothing.
//!