Boost logo

Boost :

Subject: Re: [boost] [Fit] upcoming formal review for Boost.Fit
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-03-03 01:08:07


On 3/03/2016 09:56, Bjorn Reese wrote:
> On 02/27/2016 05:16 PM, Vicente J. Botet Escriba wrote:
>
>> Documentation:http://pfultz2.github.io/Fit/doc/html/
>
> In More Examples / Projections there is this example:
>
> std::sort(std::begin(people), std::end(people),
> by(&Person::year_of_birth, _ < _));
>
> That strikes me as a very terse syntax, where the reader could easily
> miss the fact that two values are being compared. Have you considered
> the use of placeholders like _1 and _2 instead?

Being able to use arguments out of order or repeatedly is often useful
as well.


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