|
Boost : |
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2024-12-17 15:51:01
On Tue, Dec 17, 2024 at 7:21â¯AM Andrey Semashev via Boost <
boost_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk