File tree Expand file tree Collapse file tree 3 files changed +120
-79
lines changed Expand file tree Collapse file tree 3 files changed +120
-79
lines changed Original file line number Diff line number Diff line change 10513
10513
template<class ElementType, size_t Extent = dynamic_extent>
10514
10514
class span;
10515
10515
10516
+ template<class ElementType, size_t Extent>
10517
+ inline constexpr bool enable_safe_range<span<ElementType, Extent>> = true;
10518
+
10516
10519
// \ref {span.objectrep }, views of object representation
10517
10520
template<class ElementType, size_t Extent>
10518
10521
span<const byte, Extent == dynamic_extent ? dynamic_extent : sizeof(ElementType) * Extent>
10625
10628
constexpr const_reverse_iterator crbegin() const noexcept;
10626
10629
constexpr const_reverse_iterator crend() const noexcept;
10627
10630
10628
- friend constexpr iterator begin(span s) noexcept { return s.begin(); }
10629
- friend constexpr iterator end(span s) noexcept { return s.end(); }
10630
-
10631
10631
private:
10632
10632
pointer data_; // \expos
10633
10633
size_type size_; // \expos
You can’t perform that action at this time.
0 commit comments