Afficher un message
Vieux 17/10/2007, 11h13   #4
Dario Menendez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Throwing a reference to a temporary object

Thanks for the fast answer.

I was looking more for a theoretical guarantee from the language
specification about the copying of thrown objects.

Maybe compiler implementation details can affect this: optimization
could remove that copy or if the exception has to propagate through
more than one function call it could be copied more than once.

  Réponse avec citation
 
Page generated in 0,03948 seconds with 9 queries