bearophile wrote:
> BCS Wrote:
>> Cool template function literals sounds interesting
> 
> May I have one example of them?
> I am looking in the docs, but I am not finding anything...
> 
> Bye,
> bearophile

If I had to guess, I'd say it was something like this:

> alias (T)(T a, T b) { return (a+b)/2.0; } average;

Haven't had a chance to TRY that yet, mind you.  :P

  -- Daniel

Reply via email to