.. index:: pair: class; EE::UI::Charts::StridedSpan .. _doxid-class_e_e_1_1_u_i_1_1_charts_1_1_strided_span: template class EE::UI::Charts::StridedSpan ========================================== .. toctree:: :hidden: A non-owning numeric view. Its owner must remain stable for the entire read transaction. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template class StridedSpan { public: // construction :target:`StridedSpan`(); :target:`StridedSpan`(const T* data, size_t size, size_t strideBytes = sizeof(T)); :target:`StridedSpan`(std::span span); template :target:`StridedSpan`(Range& range); // methods constexpr size_t :target:`size`() const; constexpr bool :target:`empty`() const; T :target:`operator[]`(size_t index) const; constexpr bool :target:`contiguous`() const; constexpr size_t :target:`strideBytes`() const; constexpr const T* :target:`data`() const; std::span :target:`span`() const; };