dune-common 2.12-git
Loading...
Searching...
No Matches
Dune::Std::full_extent_t Struct Reference

Slice specifier selecting the full extent in one mdspan dimension. More...

#include <dune/common/std/submdspan_slices.hh>

Public Member Functions

 full_extent_t ()=default
 

Detailed Description

Slice specifier selecting the full extent in one mdspan dimension.

A full_extent_t slice keeps the corresponding source dimension in the submdspan and copies its extent unchanged. The inline object full_extent is the intended spelling:

constexpr auto submdspan(const mdspan< ElementType, Extents, LayoutPolicy, AccessorPolicy > &src, SliceSpecifiers... slices)
Create an mdspan view by slicing an existing mdspan.
Definition submdspan.hh:124
constexpr full_extent_t full_extent
Slice specifier selecting the full extent in one mdspan dimension.
Definition submdspan_slices.hh:33

Constructor & Destructor Documentation

◆ full_extent_t()

Dune::Std::full_extent_t::full_extent_t ( )
explicitdefault

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