[Dune] method pointer on entity.

Peter Bastian peter.bastian at ipvs.uni-stuttgart.de
Thu Sep 11 12:33:24 CEST 2008


me too !

Peter

Am Donnerstag, den 11.09.2008, 12:17 +0200 schrieb Andreas Dedner:
> 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
> > 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 





More information about the Dune mailing list