souffle  2.0.2-371-g6315b36
Public Member Functions | Data Fields | Static Public Attributes
TCB_SPAN_NAMESPACE_NAME::detail::span_storage< E, S > Struct Template Reference

#include <span.h>

Collaboration diagram for TCB_SPAN_NAMESPACE_NAME::detail::span_storage< E, S >:
Collaboration graph

Public Member Functions

constexpr span_storage () noexcept=default
 
constexpr span_storage (E *p_ptr, std::size_t) noexcept
 

Data Fields

E * ptr = nullptr
 

Static Public Attributes

static constexpr std::size_t size = S
 

Detailed Description

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

Definition at line 168 of file span.h.

Constructor & Destructor Documentation

◆ span_storage() [1/2]

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

◆ span_storage() [2/2]

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

Definition at line 171 of file span.h.

172  : ptr(p_ptr)
173  {}

Field Documentation

◆ ptr

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

Definition at line 175 of file span.h.

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

◆ size

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

Definition at line 176 of file span.h.

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


The documentation for this struct was generated from the following file:
TCB_SPAN_NAMESPACE_NAME::detail::span_storage::ptr
E * ptr
Definition: span.h:175