xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mh...@apache.org
Subject cvs commit: xml-xalan/c/src/xalanc/Include XalanMap.hpp
Date Mon, 18 Oct 2004 15:27:45 GMT
mhoyt       2004/10/18 08:27:45

  Modified:    c/src/xalanc/Include XalanMap.hpp
  Log:
  Enable prefix/postfix ++ for Map Iterator
  
  Revision  Changes    Path
  1.12      +13 -0     xml-xalan/c/src/xalanc/Include/XalanMap.hpp
  
  Index: XalanMap.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Include/XalanMap.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XalanMap.hpp	18 Oct 2004 14:55:57 -0000	1.11
  +++ XalanMap.hpp	18 Oct 2004 15:27:45 -0000	1.12
  @@ -171,6 +171,19 @@
       {
       }
   
  +    XalanMapIterator operator++(int)
  +    {
  +	 XalanMapIterator temp(*this);
  +	 BaseIterator::operator++();
  +	 return temp;
  +    }
  +
  +    XalanMapIterator& operator++()
  +    {
  +	 BaseIterator::operator++();
  +	 return *this;
  +    }
  +
       reference operator*() const
       {
           return *(BaseIterator::operator*());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message