Annoying thing about auto ref function template
Yuxuan Shui via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 20 14:37:26 PDT 2017
On Monday, 20 March 2017 at 21:34:14 UTC, Yuxuan Shui wrote:
> On Monday, 20 March 2017 at 21:08:40 UTC, Jonathan M Davis
> wrote:
>> [...]
>
> This is a bit tedious because it requires you creating a new
> function.
>
> Maybe we can create a template for that. But still, auto ref
> requires us to do things differently, which is annoying.
Easy solution: just support auto ref for non-templates.
I think someone has already did work on that?
More information about the Digitalmars-d
mailing list