OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_Span.h>
Public Member Functions | |
template<typename It> | |
constexpr | Span (It it, size_t end) |
template<typename Range, std::enable_if_t< detail::hasDataAndSize< Range >, int > = 0> | |
constexpr | Span (Range &&range) |
constexpr | Span (const Span &)=default |
constexpr Span & | operator= (const Span &)=default |
constexpr | Span (Span &&) noexcept=default |
constexpr Span & | operator= (Span &&) noexcept=default |
constexpr Value * | begin () const |
constexpr Value * | end () const |
constexpr auto & | front () const |
constexpr auto & | back () const |
constexpr auto & | operator[] (size_t index) const |
constexpr Value * | data () const |
constexpr bool | empty () const |
Static Public Attributes | |
static constexpr auto | extent = Extent |
A non-owning view over contiguous objects stored in an Array or vector or other similar container.
This is a bit like std::span from C++20, but with a more limited interface.
Definition at line 95 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 103 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 106 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 110 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 127 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 123 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 130 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 132 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 124 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 126 of file juce_Span.h.
|
inlineconstexpr |
Definition at line 129 of file juce_Span.h.
|
staticconstexpr |
Definition at line 100 of file juce_Span.h.