1 #ifndef DASH__VIEW__APPLY_H__INCLUDED 2 #define DASH__VIEW__APPLY_H__INCLUDED 4 #include <dash/Types.h> 5 #include <dash/Range.h> 7 #include <dash/view/ViewMod.h> 17 template <
class ViewTypeA,
class ViewTypeB>
20 ViewTypeB & view_b) -> decltype(view_a.apply(view_b)) {
21 return view_a.apply(view_b);
27 template <
class ViewType>
29 const ViewType & view) -> decltype(view.apply()) {
35 #endif // DASH__VIEW__APPLY_H__INCLUDED This class is a simple memory pool which holds allocates elements of size ValueType.
constexpr auto apply(ViewTypeA &view_a, ViewTypeB &view_b) -> decltype(view_a.apply(view_b))
Inverse operation to dash::domain.