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

Trivially wraps a workfunction. More...

Classes

struct  result
 Nested result struct to compute return type. Redirect to any definition in WF. More...
 

Public Member Functions

 identity_wf (WF const &freduce)
 
WF & wf ()
 Return reference to wrapped workfunction instance.
 

Detailed Description

template<typename WF>
struct stapl::paragraph_impl::identity_wf< WF >

Trivially wraps a workfunction.

Template Parameters
WFWorkfunction type to wrap, hold instance as private base.

This functor inherits the behavior of its template parameter and exists solely to quiet gcc warning about ambiguous bases in the presence of multiple inheritance (done for the empty base class optimization.


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