[Dune] [Dune-Commit] dune-grid r4163 - trunk/grid/common

Markus Blatt Markus.Blatt at ipvs.uni-stuttgart.de
Thu May 22 20:56:54 CEST 2008


Hi,

I am a little bit confused:

On Thu, May 22, 2008 at 07:08:42PM +0200, mnolte at dune-project.org wrote:
>  
>    //! return true if intersection is with interior or exterior boundary (see the cases above)
>    bool boundary () const DUNE_DEPRECATED
> -    {
> -      return this->realIterator.boundary();
> -    }
> +  {
> +    return (*this)->boundary();
> +  }
>  

IMHO the method boundary now calls boundary on the object. This cannot
work and will result in either a segfault or an endless recursive
loop!

Or am I missing something?

Same goes for all other functions.
Cheers,

Markus

P.S:: Just another reason why the Barton-Nackman-trick sucks...




More information about the Dune mailing list