MGIS 3.1.0
Loading...
Searching...
No Matches
DataViewConcept.hxx File Reference

File which defines the concept used to distinguish the types holding a view to some values, such as std::span, from the types owning those values. More...

#include <span>
#include <type_traits>

Classes

struct  mgis::function::internals::IsDataView< T >
 traits stating if the given type is a view to some values, which must be specialized for the classes holding views to data, such as std::span or tfel::math::View More...
struct  mgis::function::internals::IsDataView< T & >
 specialization for reference types: a reference does not own the value it refers to, so it is always considered as a view More...
struct  mgis::function::internals::IsDataView<::std::span< T, Extent > >
 specialization for std::span More...

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Concepts

concept  mgis::function::DataViewConcept
 concept which is satisfied by the types holding a view to some values owned by another object

Detailed Description

File which defines the concept used to distinguish the types holding a view to some values, such as std::span, from the types owning those values.

Author
Thomas Helfer
Date
02/10/2026