Wrapped (const_)iterator definition with /// @cond and /// @endcond to avoid problems with Doxygen 1.5

[SVN r38283]
This commit is contained in:
Ion Gaztañaga
2007-07-24 16:30:37 +00:00
parent 2181dc14fc
commit 46e99694a0

View File

@@ -237,6 +237,8 @@ class vector : private detail::vector_alloc_holder<A>
/// @endcond
public:
/// @cond
//! Const iterator used to iterate through a vector.
class const_iterator
: public std::iterator<std::random_access_iterator_tag
@@ -380,6 +382,8 @@ class vector : private detail::vector_alloc_holder<A>
{ return *((const_iterator*)this) - right; }
};
/// @endcond
//! Iterator used to iterate backwards through a vector.
typedef std::reverse_iterator<iterator>
reverse_iterator;