mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
different enditerator experiment
This commit is contained in:
parent
c99f26ec12
commit
9bc0273784
@ -842,7 +842,7 @@ namespace ngcore
|
||||
ar & size & mask & used;
|
||||
}
|
||||
|
||||
class EndIterator { };
|
||||
struct EndIterator { };
|
||||
|
||||
class Iterator
|
||||
{
|
||||
@ -861,7 +861,7 @@ namespace ngcore
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator!= (EndIterator & it2) { return nr != tab.Size(); }
|
||||
bool operator!= (EndIterator it2) { return nr != tab.Size(); }
|
||||
|
||||
auto operator* () const { return tab.GetBoth(nr); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user