NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
NeoFOAM::Span< ValueType > Class Template Reference

#include <span.hpp>

Inheritance diagram for NeoFOAM::Span< ValueType >:

Public Member Functions

 Span (std::span< ValueType > in)
 
constexpr ValueType & operator[] (std::size_t index) const
 

Public Attributes

bool abort = true
 
size_t failureIndex = 0
 

Detailed Description

template<typename ValueType>
class NeoFOAM::Span< ValueType >

Definition at line 21 of file span.hpp.

Constructor & Destructor Documentation

◆ Span()

template<typename ValueType >
NeoFOAM::Span< ValueType >::Span ( std::span< ValueType >  in)
inline

Definition at line 40 of file span.hpp.

Member Function Documentation

◆ operator[]()

template<typename ValueType >
constexpr ValueType & NeoFOAM::Span< ValueType >::operator[] ( std::size_t  index) const
inlineconstexpr

Definition at line 42 of file span.hpp.

Member Data Documentation

◆ abort

template<typename ValueType >
bool NeoFOAM::Span< ValueType >::abort = true

Definition at line 28 of file span.hpp.

◆ failureIndex

template<typename ValueType >
size_t NeoFOAM::Span< ValueType >::failureIndex = 0
mutable

Definition at line 34 of file span.hpp.


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