
12 Apr
2006
12 Apr
'06
11:18 p.m.
Valentin Samko wrote:
With the "auto" keyword one would be able to write
auto f = <> less(x, y) { return x < y; };
where "f" is a function object, somewhat equivalent to a local function. This is from a mixture of n1958 and n1968 which we are working on.
Not bad, although I still prefer inline f( x, y ) { return x < y; }