
17 Dec
2024
17 Dec
'24
3:51 p.m.
On Tue, Dec 17, 2024 at 7:21 AM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
I don't see why it should be limited to unordered containers.
I meant associative, not just unordered. The choices are: 1. Add a member function to uncountably many existing and future associative containers by adding a member function 2. Write a single, separate free function template which works for all existing and future associative containers If we include all associative containers instead of just the unordered ones, the case for a free function is even stronger as the free function will work with more types. And the member function would require considerably more work (since there are even more containers which have to change). Thanks