Boost logo

Boost :

Subject: Re: [boost] AlRangeExandrescu?
From: David Abrahams (dave_at_[hidden])
Date: 2009-07-24 13:21:10

on Fri Jul 24 2009, Thorsten Ottosen <> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at