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 31,401 of 33,346   
   Dave Abrahams to All   
   Re: RVO, Move Constructors & Exception U   
   24 Aug 11 16:44:21   
   
   0486fbaf   
   From: dave@boostpro.com   
      
   on Mon Aug 08 2011, "asif.lse"  wrote:   
      
   > Hi,   
   >   
   > Though I haven't read much about the latest C++ 0x stuff, do you think   
   > that the latest C++0x optimizations such as RVO / move constructors,   
   > etc. will also optimize unwinding of exceptions substantially? Thanks   
   > in advance, Asif   
      
   The cost of throwing exceptions will in some cases be improved because   
   you'll move the exception object instead of copying it, but once that   
   move or copy is made, the process of unwinding is similar.  Move   
   semantics may mean there are fewer non-moved-from objects to destroy   
   during unwinding, but broadly speaking I wouldn't expect that to make a   
   huge difference.   
      
   --   
   Dave Abrahams   
   BoostPro Computing   
   http://www.boostpro.com   
      
      
         [ 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