INLINE for FlatArray - iterator

This commit is contained in:
Joachim Schoeberl 2023-02-21 00:18:53 +01:00
parent 4d7829ae54
commit 371aad4a65

View File

@ -620,8 +620,8 @@ namespace ngcore
//auto begin() const { return ArrayIterator<T,IndexType> (*this, BASE); } //auto begin() const { return ArrayIterator<T,IndexType> (*this, BASE); }
// auto end() const { return ArrayIterator<T,IndexType> (*this, size+BASE); } // auto end() const { return ArrayIterator<T,IndexType> (*this, size+BASE); }
auto begin() const { return data; } NETGEN_INLINE auto begin() const { return data; }
auto end() const { return data+Size(); } NETGEN_INLINE auto end() const { return data+Size(); }
}; };
template <typename T> template <typename T>