[Dune] [#454] cast from GenericIterator to const GenericIterator broken
Dune
dune at dune-project.org
Fri Nov 7 13:54:45 CET 2008
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#454 - cast from GenericIterator to const GenericIterator broken
User who did this - Christian Engwer (christi)
----------
I introduced two new typetraits
mutable_reference<R> and const_reference<R>. These typetraits are able to map between const and mutable references. This fixes the problems with generic_iterator.
Concerning the copy vs. reference quition for the distanceTo function. I don't see a reason not to use a const ref. I changed the code and it seems to work.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=454#comment635
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