[Dune] [#564] Use dynamic polymorphism

Dune dune at dune-project.org
Fri Jun 19 11:21:26 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#564 - Use dynamic polymorphism
User who did this - Carsten Gräser (Carsten)

----------
Supporting mixed elements is a must. The weakness of "should" only applies to the optimization. However saying virtual functions are slower is also a weak argument since it is simply not true in general.

Another solution would be to use virtual functions and to provide a template that wraps them. Then you could use either the virtual base class or the wrapped derived class in the application and benefit from either flexibility or the lack of virtual methods.
----------

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

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