[Dune] [#597] Add basic interfaces with and without virtual methods for functions/mappings

Dune dune at dune-project.org
Thu Nov 5 09:08:57 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#597 - Add basic interfaces with and without virtual methods for functions/mappings
User who did this - Andreas Dedner (dedner)

----------
I see no advantage of not using a BN interface in the static case.
The static interface is quite useless at the moment, since it can only
be used for tagging. In Freiburg we  already successfully used the fact
that at in some places a BN interface exists since it allows
to specialize methods for this interface and to have other implementations
of a method at the same time:
  template <class Imp>
  void foo (BN1<Imp>& f) {...}
  template <class Imp>
  void foo (BN2<Imp>& f) {...}
  template <class F>
  void foo (F &f) {...}
works nicely and cannot be used as far as I see with your suggestion - at
least not with little implementation effort.
 
----------

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

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