No subject
Sat May 31 21:40:06 PDT 2008
function if an only if it has exactly one member named the same thing as
itself, and that member is a function declaration. Aliases are not function
declarations so it fails, though one could argue that an alias is simply a
reference _to_ another symbol, so this should work. Of course, none of this
is specified.
It can't deduce the template function on line 9 simply because it doesn't
think that Foo is a template function.
More information about the Digitalmars-d-learn
mailing list