Defines a view that behaves as the given View
but applies the given functor to the elements when they are returned by get data methods.
More...
Public Member Functions | |
transform_view (container_t &vcont, domain_t const &dom, map_func_t mfunc, transform_view const &other) | |
transform_view (container_t &vcont, domain_t const &dom, map_func_t mfunc=map_func_t()) | |
transform_view (View const &view, Functor const &func) | |
reference | operator[] (index_type g) const |
Functor const & | func (void) const |
Defines a view that behaves as the given View
but applies the given functor to the elements when they are returned by get data methods.
stapl::transform_view< View, Functor >::transform_view | ( | container_t & | vcont, |
domain_t const & | dom, | ||
map_func_t | mfunc, | ||
transform_view< View, Functor > const & | other | ||
) |