
16 Dec
2024
16 Dec
'24
2:19 p.m.
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@eldwood.com