3#ifndef DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
4#define DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
19template<
class GlobalBasis>
20struct ConstVectorBackend
23 auto require(
const V& v) ->
decltype(
24 v[std::declval<typename GlobalBasis::MultiIndex>()]
29template<
class GlobalBasis>
30struct VectorBackend :
Refines<ConstVectorBackend<GlobalBasis>>
33 auto require(
const V& v) ->
decltype(
34 const_cast<V&
>(v).resize(std::declval<const GlobalBasis&>()),
35 const_cast<V&
>(v)[std::declval<typename GlobalBasis::MultiIndex>()] = v[std::declval<typename GlobalBasis::MultiIndex>()]
Infrastructure for concepts.
Namespace for concepts.
Definition: concept.hh:32
Dune namespace.
Definition: alignedallocator.hh:11
Base class for refined concepts.
Definition: concept.hh:52