[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: A note to exceptions && some notes to codesize
From:       Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date:       1999-06-16 21:10:18
[Download RAW message or body]

On Ne, 13 čen 1999, Johannes Sixt wrote :
>On Sat, 12 Jun 1999, Alex Zepeda wrote:
>>On Fri, 11 Jun 1999, Waldo Bastian wrote:
>>
>>> > Because if some program (such as kSirc or konqueror, or anything using
>>> > mico) needs to catch an exception, it's prudent to have the exception
>>> > "bloat" in the library. 
>>>
>>> Yes and no. Only if the library is part of the call-stack between throwing
>>> and catching the exception. Show me code where that happens.
>>
>>What about an exception called in a slot?
>
>This will be ok only if all signals that are connected to it are emitted in code
>that is capable of handling exceptions (and that the moc files corresponding to
>the signals are compiled with exceptions enabled).
And also QObject::activate_signal() functions need to be compiled with
exceptions enabled, or it won't work for signals with no or one ( int, short,
long, const char* ) arguments.

 Lubos Lunak
 l.lunak@email.cz

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic