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

#include <span.hh>

Public Member Functions

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

Public Attributes

E * ptr = nullptr
 
size_t size = 0
 

Detailed Description

template<typename E>
struct detail::span_storage< E, dynamic_extent >

Definition at line 50 of file span.hh.

Constructor & Destructor Documentation

◆ span_storage() [1/2]

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

◆ span_storage() [2/2]

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

Definition at line 53 of file span.hh.

Member Data Documentation

◆ ptr

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

Definition at line 55 of file span.hh.

◆ size

template<typename E >
size_t detail::span_storage< E, dynamic_extent >::size = 0

Definition at line 56 of file span.hh.


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