Garth N. Wells wrote:
> Is there a reason why the MeshFunction.get(..) functions return by value 
> rather then reference, e.g. it is currently
> 
>      inline T get(const MeshEntity& entity) const
> 
> rather than
> 
>      inline T& get(const MeshEntity& entity) const
> 

Or more accurately

   inline const T& get(const MeshEntity& entity) const
   inline T& get(const MeshEntity& entity)

Garth

> Garth
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@fenics.org
> http://www.fenics.org/mailman/listinfo/dolfin-dev


_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to