Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
authoreap <eap@opencascade.com>
Wed, 15 Dec 2010 10:53:35 +0000 (10:53 +0000)
committereap <eap@opencascade.com>
Wed, 15 Dec 2010 10:53:35 +0000 (10:53 +0000)
+  _Self operator++(int)

src/SMDS/SMDS_StdIterator.hxx

index f14b7e3fb11f2e6095a5e6d0c6ea6464d556aaae..149def716f0f620d3215948f051fbd91cdbe82bc 100644 (file)
@@ -60,6 +60,11 @@ public:
   operator++()
   { _value = _piterator->more() ? VALUE( _piterator->next()) : 0; return *this; }
 
+  //  Step to the next one
+  _Self
+  operator++(int)
+  { _Self res = *this; _value = _piterator->more() ? VALUE( _piterator->next()) : 0; return res; }
+
   // Test of end
   bool
   operator!=(const _Self& __x) const