Re: [gtkmm] The role of glibmm



Murray Cumming wrote:
> 
> glib generally doesn't wrap things that are already
> present in Standard C++, such as basic data structures.

OK, that's the point!

> I don't think anybody has tried it, and I don't even
> know what a glib "Keyed Data List" is. It sounds a bit
> like a std::map<>.

It is std::map plus GQuark, an int=>char* association for
memory saving on key names.

> Do try to add it to glibmm if you think it's useful.
> Ask on this list if you need extra help. Here are some
> patch instructions: http://www.gtkmm.org/bugs.shtml
>
> Murray Cumming

I agree, it isn't worth adding it to glibmm, it is too much
close to std::map.

I'll just write a C++ version of GQuark, but I would take
a long time to merge it into glibmm, as I don't know the
mechanics of gtkmm's development. I'll write it soon, if
someone wants it please email me. It's too trivial, tough.

Thank you for clarifing me.


Silvio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]