dune-common 2.12-git
Loading...
Searching...
No Matches
submdspan_slices.hh File Reference
#include <cstddef>
#include <type_traits>
#include <dune/common/std/no_unique_address.hh>

Go to the source code of this file.

Classes

struct  Dune::Std::full_extent_t
 Slice specifier selecting the full extent in one mdspan dimension. More...
 
struct  Dune::Std::extent_slice< OffsetType, ExtentType, StrideType >
 Slice specifier selecting extent entries starting at offset with a stride. More...
 
struct  Dune::Std::range_slice< FirstType, LastType, StrideType >
 Slice specifier selecting the half-open range [first,last) with a stride. More...
 
struct  Dune::Std::submdspan_mapping_result< LayoutMapping >
 Result type returned by submdspan_mapping. More...
 

Namespaces

namespace  Dune
 Dune namespace
 
namespace  Dune::Std
 Namespace for features backported from new C++ standards.
 

Typedefs

template<class OffsetType , class ExtentType , class StrideType >
using Dune::Std::strided_slice = extent_slice< OffsetType, ExtentType, StrideType >
 Compatibility spelling for a strided extent slice.
 

Functions

template<class OffsetType , class ExtentType , class StrideType >
 Dune::Std::extent_slice (OffsetType, ExtentType, StrideType) -> extent_slice< OffsetType, ExtentType, StrideType >
 
template<class FirstType , class LastType >
 Dune::Std::range_slice (FirstType, LastType) -> range_slice< FirstType, LastType >
 
template<class FirstType , class LastType , class StrideType >
 Dune::Std::range_slice (FirstType, LastType, StrideType) -> range_slice< FirstType, LastType, StrideType >
 

Variables

constexpr full_extent_t Dune::Std::full_extent {}
 Slice specifier selecting the full extent in one mdspan dimension.