From: eap Date: Wed, 15 Dec 2010 10:53:35 +0000 (+0000) Subject: 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f41571ff1f073323e0d0b8edf81cc9a4ed4bb8fb;p=modules%2Fsmesh.git 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers + _Self operator++(int) --- diff --git a/src/SMDS/SMDS_StdIterator.hxx b/src/SMDS/SMDS_StdIterator.hxx index f14b7e3fb..149def716 100644 --- a/src/SMDS/SMDS_StdIterator.hxx +++ b/src/SMDS/SMDS_StdIterator.hxx @@ -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