[Dune] [Dune-Commit] dune-web r987 - /
Martin Nolte
nolte at mathematik.uni-freiburg.de
Thu May 3 11:47:01 CEST 2012
Hi Oli,
first of all: I think it is a good decision to remove the cast.
Maybe we should be a bit more precise with the announcement, though. The cast
you removed is
const Iterator & -> const EntityPointer &.
It is still possible to cast an Iterator into an EntityPointer, you just have
to make a copy, now (static_cast). This reflects the view that an Iterator
implements the concept of an entity pointer, but is not implemented as the
EntityPointer.
Best,
Martin
On 05/03/2012 01:55 AM, graeser at dune-project.org wrote:
> Author: graeser
> Date: 2012-05-03 01:55:06 +0200 (Thu, 03 May 2012)
> New Revision: 987
>
> Modified:
> recent_changes.wml
> Log:
> Announce removal of deprecaed iterator->EnityPointer cast
>
>
> Modified: recent_changes.wml
> ===================================================================
> --- recent_changes.wml 2012-05-02 21:45:00 UTC (rev 986)
> +++ recent_changes.wml 2012-05-02 23:55:06 UTC (rev 987)
> @@ -187,6 +187,9 @@
> arguments have been removed. Mesh readers are supposed to create the grid objects
> themselves.
> </li>
> +<li>The cast of the entity iterators (level/leaf/hierarchic) to<kbd>EnityPointer</kbd>
> + has been removed. Although they provide a similar interface these iterators are not
> + an<kbd>EnityPointer</kbd>.
> </ul>
>
> <h2>dune-istl</h2>
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
--
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5630
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune
mailing list