Boost logo

Boost :

Subject: Re: [boost] AlRangeExandrescu?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-07-24 08:39:20


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 );

?

-Thorsten


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