From: Guillaume L. <gla...@te...> - 2005-07-14 08:37:59
|
On Thursday 14 July 2005 10:27, Chris Cannam wrote: > > We used to have a rule not to throw across Qt library boundaries because Qt > might be compiled without exception support enabled. It's maybe still > worth following that one, although I think the justification is history. The justification was that the exception support of g++ was adding a fairly large overhead, and compiling Qt without it would save quite a few megs of RAM. Apparently this is no longer the case, however I'm not sure how an exception would be handled when thrown across the signal/slot mechanism for instance (emitting a signal which calls a slot which throws). This would certainly be a major headache, so it's probably a good idea to avoid throwing from a slot. -- Guillaume. http://www.telegraph-road.org |