[Dune] [#1004] Make VTKFunctionPtr a const-pointer

Dune flyspray at dune-project.org
Tue Jan 24 15:04:05 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1004 - Make VTKFunctionPtr a const-pointer
User who did this - Jö Fahlke (joe)

----------
I see only one implication, potentially: In the future, we won't be able to introduce a VTK-writer that calls non-const methods on the VTKFunctions.  However, I don't think that is an issue, since all the overridable virtual functions of the VTKFunction base class (ncomps(), evaluate(), name()) are declared const anyway.

The other thing I was wondering is whether deep down in the VTKWriter, something still relies on the VTKFunction beeing mutable (you never know...).  This is apparently not the case, since both code with the VTKSequenceWriter and the SubsamplingVTKWriter compiles.

Do you see anything else that could go awry?
----------

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

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