Template specialization
    Jarrett Billingsley 
    kb3ctd2 at yahoo.com
       
    Wed Apr 11 05:39:44 PDT 2007
    
    
  
"Derek Parnell" <derek at nomail.afraid.org> wrote in message 
news:9vvqf3bppd67.h9vuqy06fl5n.dlg at 40tude.net...
> On Tue, 10 Apr 2007 23:07:04 -0400, Jarrett Billingsley wrote:
>
>> ... But even still, this is no longer a function template ...
>
> According to Walter, but I still think it looks like a template that is
> defining a function <G>
>
I guess that makes sense.  If you get really technical, the static ifs don't 
introduce a scope, so with any given instantiation of that template, only 
one symbol, a function, will be declared within it, meaning it's technically 
a function template..  but I guess evaluation of static ifs doesn't occur 
until later. 
    
    
More information about the Digitalmars-d-learn
mailing list