Boost logo

Boost :

Subject: Re: [boost] [Fit] upcoming formal review for Boost.Fit
From: Bjorn Reese (breese_at_[hidden])
Date: 2016-03-02 15:56:37


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?


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