On Wed, Mar 12, 2008 at 01:25:50PM -0400, Richard Heck wrote:
> Maybe there's a better way to do this than by indexing into the
> LayoutList.  I didn't like that, and I didn't like the way these
> indices were being used in GuiDocument. In effect, it means that
> GuiDocument has to know that we're implementing the LayoutList as a
> vector.

Not at all. It just looks to the outside like one. The implementation
could be anything. An integer index has also the advantage of being 
fairly robust compared to iterators that might get invalidated under
some circumstances.

Andre'

Reply via email to