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.
Inherits juce::detail::NumBase< dynamicExtent >.
Public Member Functions | |
| template<size_t e = extent, std::enable_if_t< e==0||e==dynamicExtent, int > = 0> | |
| constexpr | Span () | 
| 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 | 
      
  | 
  inlineconstexpr | 
Referenced by operator=(), operator=(), Span(), and Span().
      
  | 
  inlineconstexpr | 
References end().
      
  | 
  inlineconstexpr | 
References data().
      
  | 
  constexprdefault | 
References Span().
      
  | 
  constexprdefaultnoexcept | 
References Span().
      
  | 
  constexprdefault | 
References Span().
      
  | 
  constexprdefaultnoexcept | 
References Span().
      
  | 
  inlineconstexpr | 
References begin().
Referenced by begin(), and juce::MidiDataConcatenator::pushMidiData().
      
  | 
  inlineconstexpr | 
Referenced by juce::MidiDataConcatenator::pushMidiData(), and Span().
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
Referenced by juce::BytestreamSysexExtractor::push(), juce::MidiDataConcatenator::pushMidiData(), and Span().
      
  | 
  inlineconstexpr | 
      
  | 
  staticconstexpr |