From f41571ff1f073323e0d0b8edf81cc9a4ed4bb8fb Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 15 Dec 2010 10:53:35 +0000 Subject: [PATCH] 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers + _Self operator++(int) --- src/SMDS/SMDS_StdIterator.hxx | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2