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

hash_value #108

Open
gast128 opened this issue Mar 13, 2019 · 0 comments
Open

hash_value #108

gast128 opened this issue Mar 13, 2019 · 0 comments

Comments

@gast128
Copy link

gast128 commented Mar 13, 2019

Dear all,

it would be nice if the container library had overloads for hashing (both Boost as std), e.g.:

namespace boost
{
    template<typename Value, std::size_t Capacity>
    std::size_t hash_value(const boost::container::static_vector<Value, Capacity>& crvec)
    {
        return boost::hash_range(crvec.cbegin(), crvec.cend());
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant