3 Mar
2016
3 Mar
'16
6:08 a.m.
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.