Re: Exceptions in glib
- From: Andreas Bogk <andreas andreas org>
- To: gtk-devel-list gtk org
- Subject: Re: Exceptions in glib
- Date: 07 Feb 2001 18:22:11 +0100
Havoc Pennington <hp redhat com> writes:
> You missed a huge one, which is that exceptions are useless unless you
> have destructors and functions can automatically free their local
> variables as the exception throws through the function. There's no way
> to write exception-safe C code.
The canonical solution to this is of course garbage collection, which
would make exceptions in C manageable. But I bet that's a topic that
has been discussed here (and probably rejected) before as well...
Andreas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]