Xport Interface: markup::iterator::operator *

Dereference operator for markup::iterator and markup::const_iterator.

markup& iterator::operator *() const; iterator
const markup& const_iterator::operator *() const; const_iterator

Parameters

None

Returns

Returns a reference (or const reference for const_iterator) to the underlying markup object.

Remarks

Dereferences the markup iterator, returning a reference to the underlying markup object (for iterator), and a const reference to the underlying markup object (for const_iterator). This can be very handy, especially for the iterator, as it allows the insertion of other child markup objects using the insertion operator, as shown in the example below.

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.