dune-common 2.12-git
Loading...
Searching...
No Matches
Dune::Std::range_slice< FirstType, LastType, StrideType > Struct Template Reference

Slice specifier selecting the half-open range [first,last) with a stride. More...

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

Public Types

using first_type = FirstType
 
using last_type = LastType
 
using stride_type = StrideType
 

Public Attributes

DUNE_NO_UNIQUE_ADDRESS first_type first {}
 
DUNE_NO_UNIQUE_ADDRESS last_type last {}
 
DUNE_NO_UNIQUE_ADDRESS stride_type stride {}
 

Detailed Description

template<class FirstType, class LastType, class StrideType = std::integral_constant<std::size_t,1>>
struct Dune::Std::range_slice< FirstType, LastType, StrideType >

Slice specifier selecting the half-open range [first,last) with a stride.

A range_slice keeps this dimension. The default stride is one, so range_slice{first,last} selects the usual contiguous half-open range.

Member Typedef Documentation

◆ first_type

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
using Dune::Std::range_slice< FirstType, LastType, StrideType >::first_type = FirstType

◆ last_type

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
using Dune::Std::range_slice< FirstType, LastType, StrideType >::last_type = LastType

◆ stride_type

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
using Dune::Std::range_slice< FirstType, LastType, StrideType >::stride_type = StrideType

Member Data Documentation

◆ first

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
DUNE_NO_UNIQUE_ADDRESS first_type Dune::Std::range_slice< FirstType, LastType, StrideType >::first {}

◆ last

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
DUNE_NO_UNIQUE_ADDRESS last_type Dune::Std::range_slice< FirstType, LastType, StrideType >::last {}

◆ stride

template<class FirstType , class LastType , class StrideType = std::integral_constant<std::size_t,1>>
DUNE_NO_UNIQUE_ADDRESS stride_type Dune::Std::range_slice< FirstType, LastType, StrideType >::stride {}

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