home bbs files messages ]

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

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

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

   Message 32,411 of 33,346   
   Zeljko Vrba to Wil Evers   
   Re: Will we ever be able to throw from a   
   15 Jun 12 11:31:15   
   
   From: mordor.nospam@fly.srk.fer.hr   
      
   On 2012-06-14, Wil Evers  wrote:   
   >   
   > And here's mine, slightly edited too.  It just calls yours:   
   >   
   >  void save()   
   >  {   
   >      outfile f(/* ctor args */);   
   >      write_contents(f);   
   >      f.close();   
   >  }   
   >   
   > Do we really need a language change for this?  I rest my case.   
   >   
   Of course not, but do we need RAII at allthen ?  And why is RAII   
   then so often cited as one of main advantages of C++ when it is   
   so easily emulated?   
      
      
   --   
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- 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