Skip to content

#221 type IntersectionIterator should not be exported

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Dec 13, 2006 10:32
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Last edited at Jan 3, 2007 15:48
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Jan 3, 2007 16:53
Closed in version 1.0
Resolution Fixed
Comment Fixed on release branch 1.0 in revision 3396

Description

The grid base class exports a type IntersectionIterator (twice, in lines 543 and 1167). This type corresponds to a LeafIntersectionIterator. It is a relic from the time before we split the IntersectionIterator into a Leaf- and a LevelIntersectionIterator. I propose this type to be removed because I think it is better to make the user explicitly choose on of the two iterators (or use a grid part). That way people have to know what they are doing. Plus, the error messages you get when trying to assign the return value of ilevelbegin() to an IntersectionIterator are quite heinous.

I mark this as 1.0 because it directly concerns the interface and the change is minor.