Re: [Cxxgui-devel] Design / lists / MVC
Brought to you by:
davidturner
From: David T. <dkt...@te...> - 2004-03-11 18:06:44
|
On Wed, 2004-03-10 at 21:39, Daniel James wrote: > On Tue, 2004-03-09 at 11:46, David Turner wrote: > > I dislike having to work explicitly through the model if the view is to be > > updated. > > I don't think it's practical to use STL algorithms in this way. They > mainly work by assignment, which doesn't map very well to gui > operations. Also, it's hard to see how you would link items in the list > view with items in the model, since iterators are easily invalidated. It > will be very difficult to keep the model and view in sync. Yes; I agree. I've decided that the challenges are such that this is best dealt with In Another Library (tm). Regards David Turner |