3#ifndef DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
4#define DUNE_FUNCTIONS_BACKEND_CONCEPTS_HH
9#include <dune/common/concept.hh>
15using namespace Dune::Concept;
19template<
class GlobalBasis>
24 v[std::declval<typename GlobalBasis::MultiIndex>()]
29template<
class GlobalBasis>
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>()]
Definition: polynomial.hh:10
Definition: backends/concepts.hh:21
auto require(const V &v) -> decltype(v[std::declval< typename GlobalBasis::MultiIndex >()])
Definition: backends/concepts.hh:31
auto require(const V &v) -> decltype(const_cast< V & >(v).resize(std::declval< const GlobalBasis & >()), const_cast< V & >(v)[std::declval< typename GlobalBasis::MultiIndex >()]=v[std::declval< typename GlobalBasis::MultiIndex >()])