serge-sans-paille / frozen

a header-only, constexpr alternative to gperf for C++14 users
Apache License 2.0
1.27k stars 103 forks source link

Add c++20 'contains' member functions to the associative containers #149

Closed anders-wind closed 1 year ago

anders-wind commented 1 year ago

C++20 added contains to its (unordered) set and map types. To achieve feature parity with those I have added such member functions.

anders-wind commented 1 year ago

Ill gladly rebase and squash the history if its important :)

serge-sans-paille commented 1 year ago

LGTM, let's see if CI agrees. In that case I'd rather have a single commit.

serge-sans-paille commented 1 year ago

(I think that you resquashing & pushing --force will re trigger CI, not 100% sure though)

anders-wind commented 1 year ago

Squashed 👍

serge-sans-paille commented 1 year ago

It's in! Thanks for helping frozen melting :-)