Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-11-02 02:59:10


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

> "Pavol Droba" <droba_at_[hidden]> wrote in message
> news:20031101232101.GG27017_at_lenin.felcer.sk...
>> On Sat, Nov 01, 2003 at 10:01:08AM -1000, David Abrahams wrote:
>> > Pavol Droba <droba_at_[hidden]> writes:
>>
>> [snip]
>>
>> > I would really, really like to see a use case which isn't handled more
>> > cleanly and just as easily with an iterator-based "find" algorithm.
>> > I think it's important not to shove functionality into a library
>> > before we can prove its usefulness. It's easy to add functionality
>> > later but it's very hard to remove it once a library is out.
>> >
>
> It's not that hard, is it?

Yes, it's pretty hard. People start to depend on the interface.

> How would your find algorithm look like?

Like std::search, perhaps?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk