I think namespaces would be a major improvement to mysql++, just
that nobody has done it yet. :-)
On Thu, Oct 21, 2004 at 03:52:42AM -0700, Sasha Shipka wrote:
> I'm evaluating the use of gtkmm at presentation layer
> and mysql++ at database layer in making client apps
> for Linux and Windows.
> In small test I made, i tried to fill ListView in gtk
> with result of mysql query.
> gtkmm uses namespaces for their classes so they have
> Gtk::TreeModel::Row class, and in mysql++ there is a
> macro which converts Row to MysqlRow. So, when I tried
> to compile my small test i got:
> wndGlasila.cc:28: error: `MysqlRow' is not a member of
> type `Gtk::TreeModel'
> where line 28 is:
> Gtk::TreeModel::Row row = *iter;
> With separation of database and presentation layer
> this will be easy solved, but on other cases that can
> be a problem.
> So, why don't mysql++ use namespaces instead of
> In this example TreeModel:;Row and Mysql::Row would
> work fine.
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1