Skip to content

[ENHANCEMENT]: Consider removing the use of argument_type and result_type from hasher in cuco default_filter_policy #653

Description

@mhaseeb123

Is your feature request related to a problem? Please describe.

The member type std::hash::argument_type is deprecated in C++17 and removed in C++20, so we should consider syncing with STL and remove them from our hashers as well as their use in bloom filter policies.

Ref: https://en.cppreference.com/w/cpp/utility/hash

Originally posted by @bdice in NVIDIA/cudf#17289 (comment)

Describe the solution you'd like

Consider refactoring to not use hasher::argument_type and hasher::result_type across cuCollections.

Describe alternatives you've considered

Keep using the deprecated hasher type aliases until C++20

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: Should haveNecessary but not criticaltopic: bloom_filterIssues related to bloom_filtertype: improvementImprovement / enhancement to an existing function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions