Nick Sabalausky wrote: > ""J�r�me M. Berger"" <[email protected]> wrote in message > news:[email protected]... >> Throwing exception inside constructors should be avoided because >> then the destructor is never called and you risk leaking like crazy. > > That's a risk outside of constructors too. Hence: > > scope(failure) {} > - This doesn't exist in C++; - Outside of constructor, there is no problem because the destructor is called.
Jerome
--
mailto:[email protected]
http://jeberger.free.fr
Jabber: [email protected]
signature.asc
Description: OpenPGP digital signature
