Annoying thing about auto ref function template
Yuxuan Shui via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 20 15:14:37 PDT 2017
On Monday, 20 March 2017 at 21:53:47 UTC, Jonathan M Davis wrote:
> On Monday, March 20, 2017 21:37:26 Yuxuan Shui via
> Digitalmars-d wrote:
>> [...]
>
> auto ref for non-templates would not be quite the same thing,
> and regardless, it wouldn't help any with explictly
> instantiating a template that had an auto ref parameter. So, it
> really wouldn't solve the problem at all. It would just make it
> so that if you didn't want a templated function, you could use
> auto ref.
>
> [...]
Makes sense...
OK, attempt 2: how about support implicit partial application for
templates?
>
> [...]
More information about the Digitalmars-d
mailing list