Subject: Re: [boost] AlRangeExandrescu?
From: David Abrahams (dave_at_[hidden])
Date: 2009-07-24 13:21:10
on Fri Jul 24 2009, Thorsten Ottosen <thorsten.ottosen-AT-dezide.com> wrote:
> David Abrahams skrev:
>> Regardless, there could still be a single correct answer from the
>> standpoint of aesthetics, purity, and orthogonality. If
>> drop_front(find(range, x))
>> does the same thing as
>> find[_f+1,_e]( range, x )
>> then you don't need the complicated meta-goop in there.
> Then how would you safely implement
> find[_f-1,_e]( range, x );
At first glance, you can't. Is there a known use case for that? If not, it's moot.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk