Componentizing D's garbage collector
    Benjamin Thaut 
    code at benjamin-thaut.de
       
    Tue Jan 14 11:15:26 PST 2014
    
    
  
Am 14.01.2014 20:08, schrieb Tofu Ninja:
> Why are unions with pointers even allowed in the first place? It seems
> like a really really really bad thing to do. Am I missing some really
> important use case?
Yes, low level programming. D is supposed to be a systems programmin 
glanguage after all. Tagged unions are a often used concept, and 
pointers within these tagged unions are very common. Also its needed for 
compatibility with C.
    
    
More information about the Digitalmars-d
mailing list