https://issues.dlang.org/show_bug.cgi?id=8204
--- Comment #5 from Simen Kjaeraas ---
That was my point. Instead of resolving to a single instantiation of the
template, we could instantiate all possible ref/non-ref permutations and alias
bar to the resultant overload set. Of course, when I think a
https://issues.dlang.org/show_bug.cgi?id=8204
--- Comment #4 from anonymous4 ---
auto ref is IFTI, not an overload set though
--
https://issues.dlang.org/show_bug.cgi?id=8204
Simen Kjaeraas changed:
What|Removed |Added
CC||simen.kja...@gmail.com
--- Comment #3 from S
https://issues.dlang.org/show_bug.cgi?id=8204
--- Comment #2 from Vladimir Panteleev ---
(In reply to dlang+issues from comment #0)
> void foo(T)(ref auto T v) { }
> alias foo!int bar; // Error: auto can only be used for template function
> parameters
What is the expected type of "bar" here? The
https://issues.dlang.org/show_bug.cgi?id=8204
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment #1