3 #ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
4 #define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
10 #include <dune/common/concept.hh>
31 template<
class Node,
class TreePath,
class Range,
32 std::enable_if_t< models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
33 decltype(
auto)
operator()(
const Node& node,
const TreePath& treePath, Range&& y)
const
38 template<
class Node,
class TreePath,
class Range,
39 std::enable_if_t<not models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
40 decltype(
auto)
operator()(
const Node& node,
const TreePath& treePath, Range&& y)
const
42 return std::forward<Range>(y);
52 #endif // DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH