Template argument deduction and default args

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 24 05:15:59 PDT 2014


"Manu via Digitalmars-d" <digitalmars-d at puremagic.com> wrote in message 
news:mailman.274.1406201953.32463.digitalmars-d at puremagic.com...

Is it possible for templates or types to both appear in the same context and 
create an actual ambiguity? What would that expression look like?

alias X = T!U;

What is U?  Did you mean to pass the template or the type? 



More information about the Digitalmars-d mailing list