Instantiating Templates Structs with defaults parameter
    d coder 
    dlang.coder at gmail.com
       
    Thu Jun  9 17:33:31 PDT 2011
    
    
  
>
>
> One simple issue is this:
>
> template whatevs(T...) { ... }
> whatevs!Foo; // did you mean to pass Foo or Foo!()? Both are legit!
>
>
Thanks Andrei for the enlightenment.
Regards
- Puneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110610/741645a9/attachment.html>
    
    
More information about the Digitalmars-d
mailing list