[Dune] method pointer on entity.
Andreas Dedner
dedner at mathematik.uni-freiburg.de
Thu Sep 11 12:17:59 CEST 2008
I also like the second version.
Andreas
Robert Kloefkorn wrote:
> Hello Dune,
>
> as decided in Berlin we wanted to add a method pointer that returns an
> EntityPointer on all entities. To create an EntityPointer one would write
>
> EntityPointer p = entity.pointer();
>
>
> Alternatively, one could add an explicit constructor taking an entity to
> the EntityPointer class. With this one could write
>
> EntityPointer p( entity );
>
> I prefer the second way.
> What do the developers think?
>
> Regards
>
> R
>
More information about the Dune
mailing list