E. Gladyshev wrote: [...]
> Should we expose the gui structure as a set of direct > STL data types or should we define separate GUI data > types that will behave like the STL containers > (iterator-like interface). In other words > > ** Option 1 (compile-time structure) > typedef std::list< boost::entry<lineEdit, > std::string> > listbox; > > typedef std::list< list<...> > listboxN; [...] I would like better the first alternative because you can easily use other containers for the widget you wish to represent: typedef std::vector<...> fast_listbox; typedef std::list<...> small_listbox; typedef std::map<...> medium_listbox; typedef a::sql<...> huge_listbox; You will be able to use future containers without changing anything in the Boost Library. Better lifetime. -- Philippe A. Bouchard _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost