[Dune] [Dune-Commit] dune-web r987 - /
graeser at math.fu-berlin.de
Thu May 3 12:30:19 CEST 2012
thanks for the hint. I'll extend the announcement accordingly.
Am 03.05.2012 11:47, schrieb Martin Nolte:
> 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.
> 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
>> 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
>> +<li>The cast of the entity iterators (level/leaf/hierarchic)
>> + has been removed. Although they provide a similar interface
>> these iterators are not
>> + an<kbd>EnityPointer</kbd>.
More information about the Dune