Comparator used to sort partial domain information in ascending order of location id and then partition id.
More...
|
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...
|
|
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.
◆ operator()()
template<typename PartitionInfo >
template<typename PartitionInfoRef0 , typename PartitionInfoRef1 >
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
-
lh | tuple of partial domain, partition id, and location id |
rh | tuple 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:
- local_partition_utils.hpp