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

#include <span.hpp>

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

Public Member Functions

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

Public Attributes

E * ptr = nullptr
 

Static Public Attributes

static constexpr std::size_t size = S
 

Detailed Description

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

Definition at line 152 of file span.hpp.

Constructor & Destructor Documentation

◆ span_storage() [1/2]

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

◆ span_storage() [2/2]

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

Definition at line 155 of file span.hpp.

Member Data Documentation

◆ ptr

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

Definition at line 159 of file span.hpp.

◆ size

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

Definition at line 160 of file span.hpp.


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