STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::flows::reflexive_producer< Element * > Class Template Reference

A reflexive_producer is used as a wrapper for using references as the producer to a task in a dependence graph. This producer is only used directly in do_while skeleton, and is not intended to be used often. This producer requires the task to be executed on the same memory space as the producer. More...

Public Member Functions

 reflexive_producer (Element *element)
 
Element const & get_element () const
 

Public Types

using index_type = std::size_t
 
using value_type = Element
 

Detailed Description

template<typename Element>
class stapl::skeletons::flows::reflexive_producer< Element * >

A reflexive_producer is used as a wrapper for using references as the producer to a task in a dependence graph. This producer is only used directly in do_while skeleton, and is not intended to be used often. This producer requires the task to be executed on the same memory space as the producer.

This specialization is used for pointer-based copies of a producers. This versions is preferred when copying the producer is costly, e.g., copying p_objects.

Template Parameters
Elementthe type of the producer

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