Template parameter defaults

Johann MacDonagh johann.macdonagh..no at spam..gmail.com
Mon May 30 07:58:35 PDT 2011


On 5/30/2011 10:12 AM, Jacob Carlborg wrote:
> If you want to use the default parameter I think you have to do this:
>
> auto a = new Test!()("test");

Yeah, that's the best I could come up with too :( I suppose users can 
alias it if necessary. Thanks!



More information about the Digitalmars-d-learn mailing list