STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::partitioner_details::apply_vertex_wf< WF > Struct Template Reference

Functor to apply a functor on an element of a view. More...

Public Member Functions

 apply_vertex_wf (WF const &wf)
 
template<typename Elt , typename HView >
void operator() (Elt elt, HView &hview)
 

Public Types

typedef void result_type
 

Detailed Description

template<typename WF>
struct stapl::partitioner_details::apply_vertex_wf< WF >

Functor to apply a functor on an element of a view.

Template Parameters
WFfunctor type.

Constructor & Destructor Documentation

◆ apply_vertex_wf()

template<typename WF >
stapl::partitioner_details::apply_vertex_wf< WF >::apply_vertex_wf ( WF const &  wf)
Parameters
wffunctor to be applied on a view element.

Member Function Documentation

◆ operator()()

template<typename WF >
template<typename Elt , typename HView >
void stapl::partitioner_details::apply_vertex_wf< WF >::operator() ( Elt  elt,
HView &  hview 
)
Parameters
eltview element id.
hviewview.

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