From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqvaluevector.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/tqvaluevector.html') diff --git a/doc/html/tqvaluevector.html b/doc/html/tqvaluevector.html index 29e7beb9b..8e47f7a4a 100644 --- a/doc/html/tqvaluevector.html +++ b/doc/html/tqvaluevector.html @@ -398,9 +398,9 @@ TQValueVector is tuned for performance, not for error checking.

Returns a reference to the element with index i. If ok is non-null, and the index i is out of range, *ok is set to -FALSE and the returned reference is undefined. If the index i +false and the returned reference is undefined. If the index i is within the range of the vector, and ok is non-null, *ok -is set to TRUE and the returned reference is well defined. +is set to true and the returned reference is well defined.

const_reference TQValueVector::at ( size_type i, bool * ok = 0 ) const

@@ -408,9 +408,9 @@ is set to TRUE and the returned reference is well defined.

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns a const reference to the element with index i. If ok is non-null, and the index i is out of range, *ok is set to -FALSE and the returned reference is undefined. If the index i +false and the returned reference is undefined. If the index i is within the range of the vector, and ok is non-null, *ok -is set to TRUE and the returned reference is well defined. +is set to true and the returned reference is well defined.

reference TQValueVector::back ()

@@ -475,7 +475,7 @@ vector.

bool TQValueVector::empty () const

-

Returns TRUE if the vector is empty; otherwise returns FALSE. +

Returns true if the vector is empty; otherwise returns false. Equivalent to size()==0, only faster.

This function is provided for STL compatibility. It is equivalent to isEmpty(). @@ -550,7 +550,7 @@ there is no first element, this function has undefined behavior.

bool TQValueVector::isEmpty () const

-

Returns TRUE if the vector is empty; returns FALSE otherwise. +

Returns true if the vector is empty; returns false otherwise.

See also count().

reference TQValueVector::last () @@ -585,15 +585,15 @@ copied.

bool TQValueVector::operator== ( const TQValueVector<T> & x ) const

-

Returns TRUE if each element in this vector equals each -corresponding element in x; otherwise returns FALSE. +

Returns true if each element in this vector equals each +corresponding element in x; otherwise returns false.

bool TQValueVector::operator== ( const TQValueVector<T> & x )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

Returns TRUE if each element in this vector equals each -corresponding element in x; otherwise returns FALSE. +

Returns true if each element in this vector equals each +corresponding element in x; otherwise returns false.

reference TQValueVector::operator[] ( size_type i )

-- cgit v1.2.3