preCICE v3.1.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
precice::detail::span_storage< E, dynamic_extent > Struct Template Reference

#include <span.hpp>

Collaboration diagram for precice::detail::span_storage< E, dynamic_extent >:
[legend]

Public Member Functions

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

Public Attributes

E * ptr = nullptr
 
std::size_t size = 0
 

Detailed Description

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

Definition at line 164 of file span.hpp.

Constructor & Destructor Documentation

◆ span_storage() [1/2]

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

◆ span_storage() [2/2]

template<typename E >
constexpr precice::detail::span_storage< E, dynamic_extent >::span_storage ( E * p_ptr,
std::size_t p_size )
inlineconstexprnoexcept

Definition at line 167 of file span.hpp.

Member Data Documentation

◆ ptr

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

Definition at line 171 of file span.hpp.

◆ size

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

Definition at line 172 of file span.hpp.


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