-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
type: feature requestNew feature requestNew feature request
Description
Part of #110 (Refactor of open address data structures)
Development branch: NVIDIA/cuCollections/refactor
Synopsis
To make it convenient to construct a static_set or other data structures with a variety of configuration parameters, we want to use a variadic constructor pattern.
TODOs
- Implement prototype:
https://godbolt.org/z/T4oP1nsoWhttps://godbolt.org/z/Kj763Teonhttps://godbolt.org/z/5Ghac54E6 - To make this more generic, instead of the
get_or_default<T>function looking for a concrete typeT, it could look for the first type that satisfies a given concept C, e.g.,get_or_default<C>. If necessary, use unique member tags to disambiguate a concept. - Optional: Ctors that only take a variadic parameter pack (helpful to cuco::bloom_filter #101). For this, we need a mechanism to detect if all mandatory parameters are present, e.g.,
get_or_error<T>. - refine prototype and fix nvcc build errors: https://godbolt.org/z/5Ghac54E6
References
Metadata
Metadata
Assignees
Labels
type: feature requestNew feature requestNew feature request