|
Boost : |
Subject: Re: [boost] Advanced find() for associative containers
From: Olaf van der Spek (ml_at_[hidden])
Date: 2017-03-16 18:32:37
On Thu, Mar 16, 2017 at 6:18 PM, Boris Rasin via Boost
<boost_at_[hidden]> wrote:
> I've written an improved version of find() for associative containers (in
> the form of a free function), and I need your help answering these two
> questions:
>
> 1. Will it be a useful addition to boost?
> 2. Where exactly should it fit in the boost?
Nice!
I've got something similar:
https://github.com/OlafvdSpek/xbt/blob/master/misc/xbt/find_ptr.h
Most variants return a pointer rather than a (conditional) iterator.
Gr,
Olaf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk