BCS Wrote:
> It would make template programming harder.
> 
> template TplFn(alias fn)
> {
>     void TplFn(T...)(T t)
>     {
>         fn(t); // what if fn has normal, ref and out args?
>     }
> }

There's an intermediate solution, to make "ref" optional at the calling site 
(as in the "override" case). I don't know how much this can improve the 
situation.

Bye,
bearophile

Reply via email to