template this parameters
    Steven Schveighoffer 
    schveiguy at yahoo.com
       
    Tue Jan 25 08:00:16 PST 2011
    
    
  
On Tue, 25 Jan 2011 10:58:18 -0500, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:
> That seems like a bug, but actually, I'd not trust typeid.  typeid is  
> actually a runtime-defined TypeInfo class, which you are calling  
> toString on, which is not telling you exactly what the compiler thinks  
> is the type.
I should clarify, it *could* be the same as what the compiler thinks, but  
this is not guaranteed.  There have been bugs in TypeInfo.toString I  
believe in the past.
-Steve
    
    
More information about the Digitalmars-d-learn
mailing list