openMSX
Public Types | Static Public Attributes | List of all members
span< ElementType, Extent > Class Template Reference

#include <span.hh>

Inheritance diagram for span< ElementType, Extent >:
Inheritance graph
[legend]

Public Types

using element_type = ElementType
 
using value_type = std::remove_cv_t< ElementType >
 
using index_type = size_t
 
using difference_type = ptrdiff_t
 
using pointer = ElementType *
 
using reference = ElementType &
 
using iterator = pointer
 
using const_iterator = const ElementType *
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Static Public Attributes

static constexpr index_type extent = Extent
 

Detailed Description

template<typename ElementType, size_t Extent>
class span< ElementType, Extent >

Definition at line 34 of file span.hh.

Member Typedef Documentation

◆ const_iterator

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::const_iterator = const ElementType*

Definition at line 150 of file span.hh.

◆ const_reverse_iterator

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 152 of file span.hh.

◆ difference_type

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::difference_type = ptrdiff_t

Definition at line 146 of file span.hh.

◆ element_type

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::element_type = ElementType

Definition at line 143 of file span.hh.

◆ index_type

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::index_type = size_t

Definition at line 145 of file span.hh.

◆ iterator

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::iterator = pointer

Definition at line 149 of file span.hh.

◆ pointer

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::pointer = ElementType*

Definition at line 147 of file span.hh.

◆ reference

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::reference = ElementType&

Definition at line 148 of file span.hh.

◆ reverse_iterator

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::reverse_iterator = std::reverse_iterator<iterator>

Definition at line 151 of file span.hh.

◆ value_type

template<typename ElementType, size_t Extent>
using span< ElementType, Extent >::value_type = std::remove_cv_t<ElementType>

Definition at line 144 of file span.hh.

Member Data Documentation

◆ extent

template<typename ElementType, size_t Extent>
constexpr index_type span< ElementType, Extent >::extent = Extent
static

Definition at line 154 of file span.hh.


The documentation for this class was generated from the following file: