[Dune] [#220] Is it safe to call method father()?

Dune dune at dune-project.org
Sat Oct 3 15:14:29 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#220 - Is it safe to call method father()?
User who did this - Martin Nolte (nolte)

----------
Just a small statement on exceptions: While exceptions are a great tool in the C++ language, the base class of all DUNE exceptions is a show stopper on performance. DUNE exceptions are easy to use when something is not implemented and the program should be aborted anyway. But writing something into a stringstream just to tell the user that there is no father (which should have the same performance as the if-statement suggested above), is an absolute waste of computation time, because the user will (should) only check for the exceptions's type anyway.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=220#comment1179

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list