diff --git a/include/span.h b/include/span.h index 74da1aa..adcded9 100644 --- a/include/span.h +++ b/include/span.h @@ -292,6 +292,7 @@ namespace details {} BoundsRanges (const BoundsRanges&) = default; + BoundsRanges& operator=(const BoundsRanges&) = default; BoundsRanges(const std::ptrdiff_t* const) { } BoundsRanges() = default; @@ -685,6 +686,8 @@ public: constexpr strided_bounds(const strided_bounds &) noexcept = default; + constexpr strided_bounds & operator=(const strided_bounds &) noexcept = default; + constexpr strided_bounds(const value_type(&values)[rank], index_type strides) : m_extents(values), m_strides(std::move(strides)) {}