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::loc_and_part_id_less< PartitionInfo > Struct Template Reference

Comparator used to sort partial domain information in ascending order of location id and then partition id. More...

Public Member Functions

template<typename PartitionInfoRef0 , typename PartitionInfoRef1 >
result_type operator() (PartitionInfoRef0 lh, PartitionInfoRef1 rh)
 Returns whether the location id of the first parameter is less than the location id of the second parameter, and if they are equal whether the partition id of the first is less than the second. More...
 

Public Types

typedef bool result_type
 

Detailed Description

template<typename PartitionInfo>
struct stapl::cm_impl::loc_and_part_id_less< PartitionInfo >

Comparator used to sort partial domain information in ascending order of location id and then partition id.

Member Function Documentation

◆ operator()()

template<typename PartitionInfo >
template<typename PartitionInfoRef0 , typename PartitionInfoRef1 >
result_type stapl::cm_impl::loc_and_part_id_less< PartitionInfo >::operator() ( PartitionInfoRef0  lh,
PartitionInfoRef1  rh 
)

Returns whether the location id of the first parameter is less than the location id of the second parameter, and if they are equal whether the partition id of the first is less than the second.

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

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