Why doesn't symbol wheelbarrowing work with function templates?

Peter Alexander peter.alexander.au at gmail.com
Thu Jun 13 03:19:16 PDT 2013


On Thursday, 13 June 2013 at 10:16:40 UTC, Peter Alexander wrote:
> On Thursday, 13 June 2013 at 09:53:54 UTC, TommiT wrote:
>> 1. alias main.bar conflicts with alias main.bar
>
> This is why: they conflict.
>
> If it worked, what would you expect bar!string() return?

Oops, that's a bad example: bar has a parameter.

Which bar would you expect this to alias:

alias bar!string barstring;


More information about the Digitalmars-d mailing list