STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::local_property_reference_constructor< T, Ref, bool > Struct Template Reference

Functor creates a reference either as a proxy or a view, based on use_view_as_reference metafunction. More...

Public Member Functions

result_type operator() (Ref prop_ref) const
 

Public Types

typedef Ref result_type
 

Detailed Description

template<typename T, typename Ref, bool = is_container_wrapper_ref<T>::value>
struct stapl::local_property_reference_constructor< T, Ref, bool >

Functor creates a reference either as a proxy or a view, based on use_view_as_reference metafunction.

Template Parameters
TThe value type of the outer container, possibly another container.
TheOuter container type.
GIDGid type of the outer container.

Primary template constructs a proxy and returns it as the reference for the iterator dereference. The sole specialization instead heap allocates the proxy and uses it as the container for a view (the type of which is determined by container_traits.


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