STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::cm_impl::part_loc_neq Struct Reference

Comparator used to identify adjacent elements in the vector of partition information that belong to different locations. More...

Public Member Functions

template<typename PartitionInfoRef >
result_type operator() (PartitionInfoRef lh, PartitionInfoRef rh)
 Returns whether the location id of the first parameter is not equal to the location id of the second parameter. More...
 

Public Types

typedef bool result_type
 

Detailed Description

Comparator used to identify adjacent elements in the vector of partition information that belong to different locations.

Member Function Documentation

◆ operator()()

template<typename PartitionInfoRef >
result_type stapl::cm_impl::part_loc_neq::operator() ( PartitionInfoRef  lh,
PartitionInfoRef  rh 
)

Returns whether the location id of the first parameter is not equal to the location id of the second parameter.

Parameters
lhtuple of partial domain, partition id, and location id
rhtuple of partial domain, partition id, and location id
Returns
true if the location id of lh is not equal the location id of rh

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