home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,693 of 2,753   
   Scott Burson to All   
   Re: Promoting weak pointers   
   15 Jun 09 11:20:42   
   
   From: fset.slb@gmail.com   
      
   On Jun 11, 9:10 am, Michiel Helvensteijn    
   wrote:   
   > Hi all!   
   >   
   > In September, last year, I posted here asking your opinions on weak   
   > pointers:   
   >   
   > http://compilers.iecc.com/comparch/article/08-09-004   
      
   I wasn't in on the previous discussion, but if I had been, I would   
   have said this:   
      
   The term "weak pointer" is a misnomer.  Weakness is not a property of   
   pointers, but rather of locations that hold pointers.  It really would   
   be better to say "weak location".   
      
   So you don't "promote a weak pointer to a strong pointer"; you read   
   the contents of a weak location, which can contain either a pointer or   
   null.   
      
   -- Scott   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca