From 124f342bfc27f37a6bce8af4d586d8dc92665496 Mon Sep 17 00:00:00 2001 From: jtc Date: Tue, 6 Jun 2006 03:58:27 +0000 Subject: ChangeLogTag: Tue Jun 6 03:57:08 UTC 2006 J.T. Conklin --- ace/RB_Tree.inl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ace/RB_Tree.inl') diff --git a/ace/RB_Tree.inl b/ace/RB_Tree.inl index ba41725319c..2e9b266ee92 100644 --- a/ace/RB_Tree.inl +++ b/ace/RB_Tree.inl @@ -760,6 +760,18 @@ ACE_RB_Tree_Iterator_Base::operator* (vo } +// STL-like iterator dereference operator: returns a reference +// to the node underneath the iterator. + +template +ACE_INLINE ACE_RB_Tree_Node * +ACE_RB_Tree_Iterator_Base::operator-> (void) const +{ + ACE_TRACE ("ACE_RB_Tree_Iterator_Base::operator->"); + return this->node_; +} + + // Returns a reference to the tree over which we're iterating. template ACE_INLINE const ACE_RB_Tree & -- cgit v1.2.1