|
Boost : |
From: Rainer Deyke (rdeyke_at_[hidden])
Date: 2024-12-16 14:19:38
On 16.12.24 11:35, Ivan Matek via Boost wrote:
> Hi everybody,
>
> I presume somebody thought of this before but for some reason it never
> happened, but just in case it was never discussed I wonder if people here
> believe adding an nicer version of find(with different name obviously) to
> associative containers in boost would be beneficial?
>
> Since boost::optional allows references this would work.
I'd much rather have this as a generic free function than as a member
function. That way it works on all associative containers, not just the
ones supplied by Boost.
-- Rainer Deyke - rainerd_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk