Public Types | Public Member Functions | Friends | List of all members
openPMD::Span< T > Class Template Reference

Subset of C++20 std::span class template. More...

#include <Span.hpp>

Public Types

using iterator = T *
using reverse_iterator = std::reverse_iterator< iterator >

Public Member Functions

size_t size () const
T * data () const
T & operator[] (size_t i) const
iterator begin () const
iterator end () const
reverse_iterator rbegin () const
reverse_iterator rend () const


template<typename >
class DynamicMemoryView

Detailed Description

template<typename T>
class openPMD::Span< T >

Subset of C++20 std::span class template.

Any existing member behaves equivalently to those documented here:

The documentation for this class was generated from the following files: