STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::transform_view< View, Functor > Class Template Reference

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
 

Detailed Description

template<typename View, typename Functor>
class stapl::transform_view< View, Functor >

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.

Constructor & Destructor Documentation

◆ transform_view()

template<typename View , typename Functor >
stapl::transform_view< View, Functor >::transform_view ( container_t &  vcont,
domain_t const &  dom,
map_func_t  mfunc,
transform_view< View, Functor > const &  other 
)


The documentation for this class was generated from the following file: