mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
just use pointer for Array - iterators (on proposal of Matthias R)
This commit is contained in:
parent
3258b27410
commit
c3984fcc5b
@ -613,8 +613,10 @@ namespace ngcore
|
||||
return Pos(elem) != ILLEGAL_POSITION;
|
||||
}
|
||||
|
||||
auto begin() const { return ArrayIterator<T,IndexType> (*this, BASE); }
|
||||
auto end() const { return ArrayIterator<T,IndexType> (*this, size+BASE); }
|
||||
//auto begin() const { return ArrayIterator<T,IndexType> (*this, BASE); }
|
||||
// auto end() const { return ArrayIterator<T,IndexType> (*this, size+BASE); }
|
||||
auto begin() const { return data; }
|
||||
auto end() const { return data+Size(); }
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user