7#ifndef DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
8#define DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
13#include <dune/common/concept.hh>
19using namespace Dune::Concept;
23template<
class GlobalBasis>
24struct ConstVectorBackend
27 auto require(
const V& v) ->
decltype(
28 v[std::declval<typename GlobalBasis::MultiIndex>()]
33template<
class GlobalBasis>
34struct VectorBackend : Refines<ConstVectorBackend<GlobalBasis>>
37 auto require(
const V& v) ->
decltype(
38 const_cast<V&
>(v).resize(std::declval<const GlobalBasis&>()),
39 const_cast<V&
>(v)[std::declval<typename GlobalBasis::MultiIndex>()] = v[std::declval<typename GlobalBasis::MultiIndex>()]
Definition: polynomial.hh:17