[Dune] [#564] Use dynamic polymorphism
Dune
dune at dune-project.org
Fri Jun 19 12:10:02 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)
----------
Writing an additional base class P1MultiElementTypeBase with virtual functions would require to explicitly clone or wrap each FE you want to use. Then one would in fact have two parallel class hierarchies one without and one with virtual functions.
On the other hand a static wrapper to hard wire the derived type (if you know that only one appears) can be done generically without introducing a parallel class hierarchy.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=564#comment968
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