summaryrefslogtreecommitdiff
path: root/asl/span.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 00:40:51 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 00:42:44 +0100
commitcf7db48c261ee9c896c813a38ff8c59da5b8fe07 (patch)
tree41d827be5db5f3322d745215fe38a9c395a52fa3 /asl/span.hpp
parent79aaec3d7d12bc1a0483f19eadeda325a2d65920 (diff)
Fix line endings
Diffstat (limited to 'asl/span.hpp')
-rw-r--r--asl/span.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/asl/span.hpp b/asl/span.hpp
index 730ef71..9ebe022 100644
--- a/asl/span.hpp
+++ b/asl/span.hpp
@@ -49,7 +49,7 @@ class span
{
return size < 0;
}
-
+
static constexpr bool kIsDynamic = is_dynamic(kSize);
using SizeType = select_t<kIsDynamic, isize_t, empty>;
@@ -102,7 +102,7 @@ public:
constexpr span(const span&) = default;
constexpr span(span&&) = default;
-
+
constexpr span& operator=(const span&) = default;
constexpr span& operator=(span&&) = default;
@@ -124,7 +124,7 @@ public:
{
return contiguous_iterator{m_data};
}
-
+
constexpr contiguous_iterator<T> end() const
{
return contiguous_iterator{m_data + size()};