dune-functions 2.10
Loading...
Searching...
No Matches
Dune::Functions::StaticMultiIndex< size_type, 1 > Class Template Reference

A statically sized MultiIndex type. More...

#include <dune/functions/common/multiindex.hh>

Inheritance diagram for Dune::Functions::StaticMultiIndex< size_type, 1 >:
Inheritance graph

Public Member Functions

 operator const size_type & () const
 
 operator size_type & ()
 
size_type at (size_type ... args)
 
size_type back (size_type ... args)
 
size_type begin (size_type ... args)
 
size_type cbegin (size_type ... args)
 
size_type cend (size_type ... args)
 
size_type crbegin (size_type ... args)
 
size_type crend (size_type ... args)
 
size_type data (size_type ... args)
 
size_type empty (size_type ... args)
 
size_type end (size_type ... args)
 
size_type fill (size_type ... args)
 
size_type front (size_type ... args)
 
size_type max_size (size_type ... args)
 
size_type operator[] (size_type ... args)
 
size_type rbegin (size_type ... args)
 
size_type rend (size_type ... args)
 
size_type size (size_type ... args)
 
size_type swap (size_type ... args)
 

Static Public Member Functions

static constexpr std::size_t size ()
 
static constexpr std::size_t max_size ()
 

Public Attributes

size_type elements
 STL member.
 

Friends

std::size_t hash_value (const StaticMultiIndex &v) noexcept
 

Detailed Description

template<class size_type>
class Dune::Functions::StaticMultiIndex< size_type, 1 >

A statically sized MultiIndex type.

This is basically a std::array<size_type,1>.

This is the specialization for size==1 which additionally provides const and mutable casts to a reference to the single contained digit.

Member Function Documentation

◆ max_size()

template<class size_type >
static constexpr std::size_t Dune::Functions::StaticMultiIndex< size_type, 1 >::max_size ( )
inlinestaticconstexpr

◆ operator const size_type &()

template<class size_type >
Dune::Functions::StaticMultiIndex< size_type, 1 >::operator const size_type & ( ) const
inline

◆ operator size_type &()

template<class size_type >
Dune::Functions::StaticMultiIndex< size_type, 1 >::operator size_type & ( )
inline

◆ size()

template<class size_type >
static constexpr std::size_t Dune::Functions::StaticMultiIndex< size_type, 1 >::size ( )
inlinestaticconstexpr

Friends And Related Symbol Documentation

◆ hash_value

template<class size_type >
std::size_t hash_value ( const StaticMultiIndex< size_type, 1 > &  v)
friend

Member Data Documentation

◆ elements

size_type std::array< size_type >::elements
inherited

STL member.


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