diff options
Diffstat (limited to 'src/engine/matrix_iterator.hpp')
-rw-r--r-- | src/engine/matrix_iterator.hpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/engine/matrix_iterator.hpp b/src/engine/matrix_iterator.hpp index 5d35052..674216f 100644 --- a/src/engine/matrix_iterator.hpp +++ b/src/engine/matrix_iterator.hpp @@ -10,13 +10,13 @@ public: explicit MatrixRowIterator(ColumnPtr column_ptr) noexcept; - MatrixRowIterator &operator++() noexcept; - MatrixRowIterator operator++(int) noexcept; + auto operator++() noexcept -> MatrixRowIterator &; + auto operator++(int) noexcept -> MatrixRowIterator; - Element &operator*() const noexcept; + auto operator*() const noexcept -> Element &; - bool operator==(const MatrixRowIterator &rhs) const noexcept; - bool operator!=(const MatrixRowIterator &rhs) const noexcept; + auto operator==(const MatrixRowIterator &rhs) const noexcept -> bool; + auto operator!=(const MatrixRowIterator &rhs) const noexcept -> bool; private: ColumnPtr _column_ptr; @@ -30,9 +30,9 @@ public: explicit MatrixRow(RowPtr row_ptr, const uint32_t &column_cnt) noexcept; - [[nodiscard]] MatrixRowIterator<Element> begin() const noexcept; + [[nodiscard]] auto begin() const noexcept -> MatrixRowIterator<Element>; - [[nodiscard]] MatrixRowIterator<Element> end() const noexcept; + [[nodiscard]] auto end() const noexcept -> MatrixRowIterator<Element>; private: RowPtr _row_ptr; @@ -48,13 +48,13 @@ public: explicit MatrixIterator(RowPtr row_ptr, const uint32_t &column_cnt) noexcept; - MatrixIterator &operator++() noexcept; - MatrixIterator operator++(int) noexcept; + auto operator++() noexcept -> MatrixIterator &; + auto operator++(int) noexcept -> MatrixIterator; - MatrixRow<Element> operator*() const noexcept; + auto operator*() const noexcept -> MatrixRow<Element>; - bool operator==(const MatrixIterator &rhs) const noexcept; - bool operator!=(const MatrixIterator &rhs) const noexcept; + auto operator==(const MatrixIterator &rhs) const noexcept -> bool; + auto operator!=(const MatrixIterator &rhs) const noexcept -> bool; private: RowPtr _row_ptr; |