Xport Interface: markup::descendant_iterator::operator ==, !=

Equality and inequality operators for markup::descendant_iterator and markup::const_descendant_iterator.

bool operator ==(const markup::const_descendant_iterator& lhs, const markup::const_descendant_iterator& rhs); ==
bool operator !=(const markup::const_descendant_iterator& lhs, const markup::const_descendant_iterator& rhs); !=

Parameters

lhs

The left descendant_iterator to compare.

rhs

The right descendant_iterator to compare.

Returns

Returns true if the descendant_iterators have the same parent and point to the same child markup object.

Remarks

Test two descendant_iterators for equality or inequality. This operation is not a member function, so it allows the conversion of descendant_iterator to const_descendant_iterator for both the left and right arguments.

Complexity

Constant

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.