Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable noexcept for special member functions #64

Merged
merged 3 commits into from
Sep 14, 2024
Merged

Commits on Aug 27, 2024

  1. Enable noexcept for special member functions

    The hopscotch_hash container already was nothrow move constructible,
    but was missing the conditional noexcept for the default constructor,
    swap, and move assignment.
    pfent committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2b7dd4a View commit details
    Browse the repository at this point in the history
  2. Consider template args for default constructor noexceptness

    This adds a helper to detect the default growth policies that are
    noexcept when default initialized with 0.
    pfent committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    33f41b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Add a conditionally noexcept hopscotch_hash default constructor

    This avoids duplication of is_nothrow_default_constructible checks.
    pfent committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    feb9247 View commit details
    Browse the repository at this point in the history