Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Oct 10, 2023
1 parent d2de184 commit a914b60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ class open_addressing_impl {
*
* @note For each key `k` in `[first, last)`, if contains(k) returns true, removes `k` and it's
* associated value from the container. Else, no effect.
*
* @note Side-effects:
* - `contains(k) == false`
* - `find(k) == end()`
Expand Down
4 changes: 3 additions & 1 deletion include/cuco/static_map.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -404,14 +404,15 @@ class static_map {
*
* @note For each key `k` in `[first, last)`, if contains(k) returns true, removes `k` and it's
* associated value from the map. Else, no effect.
*
* @note This function synchronizes `stream`.
*
* @note Side-effects:
* - `contains(k) == false`
* - `find(k) == end()`
* - `insert({k,v}) == true`
* - `size()` is reduced by the total number of erased keys
*
*
* @tparam InputIt Device accessible input iterator whose `value_type` is
* convertible to the map's `key_type`
*
Expand All @@ -430,6 +431,7 @@ class static_map {
*
* @note For each key `k` in `[first, last)`, if contains(k) returns true, removes `k` and it's
* associated value from the map. Else, no effect.
*
* @note Side-effects:
* - `contains(k) == false`
* - `find(k) == end()`
Expand Down
4 changes: 3 additions & 1 deletion include/cuco/static_set.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,15 @@ class static_set {
*
* @note For each key `k` in `[first, last)`, if contains(k) returns true, removes `k` and it's
* associated value from the container. Else, no effect.
*
* @note This function synchronizes `stream`.
*
* @note Side-effects:
* - `contains(k) == false`
* - `find(k) == end()`
* - `insert({k,v}) == true`
* - `size()` is reduced by the total number of erased keys
*
*
* @tparam InputIt Device accessible input iterator whose `value_type` is
* convertible to the container's `key_type`
*
Expand All @@ -359,6 +360,7 @@ class static_set {
*
* @note For each key `k` in `[first, last)`, if contains(k) returns true, removes `k` and it's
* associated value from the container. Else, no effect.
*
* @note Side-effects:
* - `contains(k) == false`
* - `find(k) == end()`
Expand Down

0 comments on commit a914b60

Please sign in to comment.