dune-functions  2.6-dev
Static Public Member Functions | List of all members
Dune::Functions::FlatVectorBackend< V > Struct Template Reference

#include <dune/functions/functionspacebases/flatvectorbackend.hh>

Static Public Member Functions

template<class VV , class Index , typename std::enable_if< models< Concept::HasIndexAccess, VV, Index >(), int >::type = 0>
static auto getEntry (VV &&v, const Index &i) -> decltype(v[i])
 
template<class VV , class Index , typename std::enable_if< not models< Concept::HasIndexAccess, VV, Index >(), int >::type = 0>
static auto getEntry (VV &&v, const Index &i) -> decltype(v)
 
template<class VV , typename std::enable_if< models< Concept::HasSizeMethod, VV >(), int >::type = 0>
static auto size (VV &&v) -> decltype(v.size())
 
template<class VV , typename std::enable_if< not models< Concept::HasSizeMethod, VV >(), int >::type = 0>
static std::size_t size (VV &&v)
 

Member Function Documentation

◆ getEntry() [1/2]

template<class V >
template<class VV , class Index , typename std::enable_if< models< Concept::HasIndexAccess, VV, Index >(), int >::type = 0>
static auto Dune::Functions::FlatVectorBackend< V >::getEntry ( VV &&  v,
const Index &  i 
) -> decltype(v[i])
inlinestatic

◆ getEntry() [2/2]

template<class V >
template<class VV , class Index , typename std::enable_if< not models< Concept::HasIndexAccess, VV, Index >(), int >::type = 0>
static auto Dune::Functions::FlatVectorBackend< V >::getEntry ( VV &&  v,
const Index &  i 
) -> decltype(v)
inlinestatic

◆ size() [1/2]

template<class V >
template<class VV , typename std::enable_if< models< Concept::HasSizeMethod, VV >(), int >::type = 0>
static auto Dune::Functions::FlatVectorBackend< V >::size ( VV &&  v) -> decltype(v.size())
inlinestatic

◆ size() [2/2]

template<class V >
template<class VV , typename std::enable_if< not models< Concept::HasSizeMethod, VV >(), int >::type = 0>
static std::size_t Dune::Functions::FlatVectorBackend< V >::size ( VV &&  v)
inlinestatic

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