Skip to content

Commit bd2e1db

Browse files
committed
Rename output iterator types
1 parent 1bad268 commit bd2e1db

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

include/cuco/detail/static_map/static_map.inl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,13 +620,13 @@ template <class Key,
620620
class ProbingScheme,
621621
class Allocator,
622622
class Storage>
623-
template <typename InputIt, typename OutputIt1, typename OutputIt2>
624-
std::pair<OutputIt1, OutputIt2>
623+
template <typename InputIt, typename OutputProbeIt, typename OutputMatchIt>
624+
std::pair<OutputProbeIt, OutputMatchIt>
625625
static_map<Key, T, Extent, Scope, KeyEqual, ProbingScheme, Allocator, Storage>::retrieve(
626626
InputIt first,
627627
InputIt last,
628-
OutputIt1 output_probe,
629-
OutputIt2 output_match,
628+
OutputProbeIt output_probe,
629+
OutputMatchIt output_match,
630630
cuda::stream_ref stream) const
631631
{
632632
return impl_->retrieve(first, last, output_probe, output_match, this->ref(op::retrieve), stream);

include/cuco/detail/static_multimap/static_multimap.inl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,13 @@ template <class Key,
447447
class ProbingScheme,
448448
class Allocator,
449449
class Storage>
450-
template <typename InputIt, typename OutputIt1, typename OutputIt2>
451-
std::pair<OutputIt1, OutputIt2>
450+
template <typename InputIt, typename OutputProbeIt, typename OutputMatchIt>
451+
std::pair<OutputProbeIt, OutputMatchIt>
452452
static_multimap<Key, T, Extent, Scope, KeyEqual, ProbingScheme, Allocator, Storage>::retrieve(
453453
InputIt first,
454454
InputIt last,
455-
OutputIt1 output_probe,
456-
OutputIt2 output_match,
455+
OutputProbeIt output_probe,
456+
OutputMatchIt output_match,
457457
cuda::stream_ref stream) const
458458
{
459459
return impl_->retrieve(first, last, output_probe, output_match, this->ref(op::retrieve), stream);

include/cuco/static_map.cuh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,10 @@ class static_map {
929929
* @note Behavior is undefined if the given key has multiple matches in the set.
930930
*
931931
* @tparam InputIt Device accessible input iterator
932-
* @tparam OutputIt1 Device accessible output iterator whose `value_type` can be constructed from
933-
* `ProbeKey`
934-
* @tparam OutputIt2 Device accessible output iterator whose `value_type` can be constructed from
935-
* map's `value_type`
932+
* @tparam OutputProbeIt Device accessible output iterator whose `value_type` can be constructed
933+
* from `ProbeKey`
934+
* @tparam OutputMatchIt Device accessible output iterator whose `value_type` can be constructed
935+
* from map's `value_type`
936936
*
937937
* @param first Beginning of the sequence of probe keys
938938
* @param last End of the sequence of probe keys
@@ -942,12 +942,12 @@ class static_map {
942942
*
943943
* @return The iterator indicating the last valid pair in the output
944944
*/
945-
template <typename InputIt, typename OutputIt1, typename OutputIt2>
946-
std::pair<OutputIt1, OutputIt2> retrieve(InputIt first,
947-
InputIt last,
948-
OutputIt1 output_probe,
949-
OutputIt2 output_match,
950-
cuda::stream_ref stream = {}) const;
945+
template <typename InputIt, typename OutputProbeIt, typename OutputMatchIt>
946+
std::pair<OutputProbeIt, OutputMatchIt> retrieve(InputIt first,
947+
InputIt last,
948+
OutputProbeIt output_probe,
949+
OutputMatchIt output_match,
950+
cuda::stream_ref stream = {}) const;
951951

952952
/**
953953
* @brief Retrieves all of the keys and their associated values contained in the map

include/cuco/static_multimap.cuh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,10 @@ class static_multimap {
680680
* @note Behavior is undefined if the given key has multiple matches in the set.
681681
*
682682
* @tparam InputIt Device accessible input iterator
683-
* @tparam OutputIt1 Device accessible output iterator whose `value_type` can be constructed from
684-
* `ProbeKey`
685-
* @tparam OutputIt2 Device accessible output iterator whose `value_type` can be constructed from
686-
* multimap's `value_type`
683+
* @tparam OutputProbeIt Device accessible output iterator whose `value_type` can be constructed
684+
* from `ProbeKey`
685+
* @tparam OutputMatchIt Device accessible output iterator whose `value_type` can be constructed
686+
* from multimap's `value_type`
687687
*
688688
* @param first Beginning of the sequence of probe keys
689689
* @param last End of the sequence of probe keys
@@ -693,12 +693,12 @@ class static_multimap {
693693
*
694694
* @return The iterator indicating the last valid pair in the output
695695
*/
696-
template <typename InputIt, typename OutputIt1, typename OutputIt2>
697-
std::pair<OutputIt1, OutputIt2> retrieve(InputIt first,
698-
InputIt last,
699-
OutputIt1 output_probe,
700-
OutputIt2 output_match,
701-
cuda::stream_ref stream = {}) const;
696+
template <typename InputIt, typename OutputProbeIt, typename OutputMatchIt>
697+
std::pair<OutputProbeIt, OutputMatchIt> retrieve(InputIt first,
698+
InputIt last,
699+
OutputProbeIt output_probe,
700+
OutputMatchIt output_match,
701+
cuda::stream_ref stream = {}) const;
702702

703703
/**
704704
* @brief Retrieves all of the keys and their associated values contained in the multimap

0 commit comments

Comments
 (0)