diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-02-20 00:33:42 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-02-20 00:33:42 +0100 |
commit | ce97eaf5f933baa2e576cd5665b209e38346e561 (patch) | |
tree | 0268d7f7330d8a7aa2e5de91332dc1e68ae4f425 /asl/types | |
parent | a141c401f78467bc15f62882fca5d55a007cacbb (diff) |
Add intrusive_list
Diffstat (limited to 'asl/types')
-rw-r--r-- | asl/types/span.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/asl/types/span.hpp b/asl/types/span.hpp index b258708..648441a 100644 --- a/asl/types/span.hpp +++ b/asl/types/span.hpp @@ -18,10 +18,7 @@ class contiguous_iterator public: constexpr explicit contiguous_iterator(T* ptr) : m_ptr{ptr} {} - constexpr bool operator==(const contiguous_iterator& other) const - { - return other.m_ptr == m_ptr; - } + constexpr bool operator==(const contiguous_iterator& other) const = default; constexpr contiguous_iterator& operator++() { |