On Mon, Nov 22, 2004 at 10:56:57AM +0100, Jean-Marc Lasgouttes wrote:
> I am not sure about that. It seems to me that the types eventually
> resolve to unsigned int:
> http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html
> http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeNodeChildren.html
> 
> This kind of make sense for GUI elements. Who need 64bit ints there?
> 
> So if we have to use an abstract type, I'd use
> Gtk::ListStore::Children::size_type, which is admittedly a bit wordy.

Indeed. So doesn't Gtk has some 'general size type' with a shorter name.
Of course, if they really and everywhere resolve to 'unsigned int',
using just this is fine.

After all, we are using std::size_t and not std::vector<Foo>::size_type
because they have to be the same.

Andre'

Reply via email to