openMSX
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
detail::span_storage< E, S > Struct Template Reference

#include <span.hh>

Inheritance diagram for detail::span_storage< E, S >:
Inheritance graph
[legend]

Public Member Functions

constexpr span_storage () noexcept=default
 
constexpr span_storage (E *ptr_, size_t) noexcept
 

Public Attributes

E * ptr = nullptr
 

Static Public Attributes

static constexpr size_t size = S
 

Detailed Description

template<typename E, size_t S>
struct detail::span_storage< E, S >

Definition at line 40 of file span.hh.

Constructor & Destructor Documentation

◆ span_storage() [1/2]

template<typename E , size_t S>
constexpr detail::span_storage< E, S >::span_storage ( )
constexprdefaultnoexcept

◆ span_storage() [2/2]

template<typename E , size_t S>
constexpr detail::span_storage< E, S >::span_storage ( E *  ptr_,
size_t   
)
inlineconstexprnoexcept

Definition at line 43 of file span.hh.

Member Data Documentation

◆ ptr

template<typename E , size_t S>
E* detail::span_storage< E, S >::ptr = nullptr

Definition at line 45 of file span.hh.

Referenced by span< ElementType, Extent >::data().

◆ size

template<typename E , size_t S>
constexpr size_t detail::span_storage< E, S >::size = S
staticconstexpr

Definition at line 46 of file span.hh.

Referenced by span< ElementType, Extent >::size().


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