Fixed documentation and a minor issue.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3792 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-07-01 20:36:11 +00:00
parent 074162477e
commit 92ec26a3be
2 changed files with 12 additions and 7 deletions

View File

@ -120,6 +120,11 @@ private:
typedef VectorIterator<Value> Iterator;
public:
inline VectorIterator<Value>()
: fElement(NULL)
{
}
inline VectorIterator<Value>(const Iterator &other)
: fElement(other.fElement)
{
@ -187,7 +192,7 @@ public:
// private
public:
inline VectorIterator<Value>(Value *element = NULL)
inline VectorIterator<Value>(Value *element)
: fElement(element)
{
}
@ -447,7 +452,7 @@ _VECTOR_CLASS_NAME::MakeEmpty()
/*! \brief Returns an iterator referring to the beginning of the vector.
If the vector is not empty, Begin() refers to its first element,
otherwise it is equal to End() and must not be dereference!
otherwise it is equal to End() and must not be dereferenced!
\return An iterator referring to the beginning of the vector.
*/
@ -463,7 +468,7 @@ _VECTOR_CLASS_NAME::Begin()
/*! \brief Returns an iterator referring to the beginning of the vector.
If the vector is not empty, Begin() refers to its first element,
otherwise it is equal to End() and must not be dereference!
otherwise it is equal to End() and must not be dereferenced!
\return An iterator referring to the beginning of the vector.
*/

View File

@ -230,7 +230,7 @@ _VECTOR_SET_CLASS_NAME::MakeEmpty()
/*! \brief Returns an iterator referring to the beginning of the set.
If the set is not empty, Begin() refers to its first element,
otherwise it is equal to End() and must not be dereference!
otherwise it is equal to End() and must not be dereferenced!
\return An iterator referring to the beginning of the set.
*/
@ -246,7 +246,7 @@ _VECTOR_SET_CLASS_NAME::Begin()
/*! \brief Returns an iterator referring to the beginning of the set.
If the set is not empty, Begin() refers to its first element,
otherwise it is equal to End() and must not be dereference!
otherwise it is equal to End() and must not be dereferenced!
\return An iterator referring to the beginning of the set.
*/
@ -364,7 +364,7 @@ _VECTOR_SET_CLASS_NAME::Find(const Value &value) const
If the set contains an element with the specified value, an iterator
to it is returned. Otherwise \a less indicates whether an iterator to
the immediately smaller or greater element shall be returned.
the directly smaller or greater element shall be returned.
If \a less is \c true and the first element in the set has a greater
value than the specified one, End() is returned. Similarly, when \a less
@ -405,7 +405,7 @@ _VECTOR_SET_CLASS_NAME::FindClose(const Value &value, bool less)
If the set contains an element with the specified value, an iterator
to it is returned. Otherwise \a less indicates whether an iterator to
the immediately smaller or greater element shall be returned.
the directly smaller or greater element shall be returned.
If \a less is \c true and the first element in the set has a greater
value than the specified one, End() is returned. Similarly, when \a less