diff options
Diffstat (limited to 'src/engine/matrix_iterator.tpp')
-rw-r--r-- | src/engine/matrix_iterator.tpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/engine/matrix_iterator.tpp b/src/engine/matrix_iterator.tpp index 031136c..9697861 100644 --- a/src/engine/matrix_iterator.tpp +++ b/src/engine/matrix_iterator.tpp @@ -35,13 +35,15 @@ auto MatrixRowIterator<Element>::operator*() const noexcept -> Element & } template <typename Element> -auto MatrixRowIterator<Element>::operator==(const MatrixRowIterator &rhs) const noexcept -> bool +auto MatrixRowIterator<Element>::operator==(const MatrixRowIterator &rhs) const noexcept + -> bool { return _column_ptr == rhs._column_ptr; } template <typename Element> -auto MatrixRowIterator<Element>::operator!=(const MatrixRowIterator &rhs) const noexcept -> bool +auto MatrixRowIterator<Element>::operator!=(const MatrixRowIterator &rhs) const noexcept + -> bool { return _column_ptr != rhs._column_ptr; } @@ -69,8 +71,10 @@ auto MatrixRow<Element>::end() const noexcept -> MatrixRowIterator<Element> // Matrix iterator template <typename Element> -MatrixIterator<Element>::MatrixIterator(RowPtr row_ptr, - const uint32_t &column_cnt) noexcept +MatrixIterator<Element>::MatrixIterator( + RowPtr row_ptr, + const uint32_t &column_cnt +) noexcept : _row_ptr(row_ptr), _column_cnt(column_cnt) { } |