easy way to output a struct?
    Hoenir 
    mrmocool at gmx.de
       
    Thu Jan 15 15:57:26 PST 2009
    
    
  
BCS schrieb:
> I have a partial solution here:  
> http://www.dsource.org/projects/scrapple/browser/trunk/log_api/LogAPI.d
> 
> Feel free to steal whatever you want from it. If you are really 
> adventures and want to, I can get you SVN access and you can dump stuff 
> back into that.
> 
Why is that "is" used here:
static if(is(a == char*))
I know is is normally used for identity comparison, but what does it do 
here?
Also, I've never seen something like that (I mean that ":"):
else static if(is(a : int))
    
    
More information about the Digitalmars-d-learn
mailing list