Skip to content

Hashing with Boost Hash Library #16

Description

@Randalphwa

Migrated from the original repository
Original issue: serge-sans-paille/frozen#109
Originally reported by: @staticassert


Is there a method to use the boost hash library as a hash function in frozen::unordered_map?

I have been using boost::hash in std::unordered_map to work with non-integral keys. Using boost::hash in frozen::unordered_map creates an error, because the pmh_table::lookup() function applies 2 parameters: key and static_cast<size_t>(first_seed_), whereas boost::hash only accepts 1 parameter. Is there a workaround for this?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions