Re: gtkmm and C++0x



2010/3/30 Chris Vine <chris cvine freeserve co uk>:
> You shouldn't need to change anything. Glib::RefPtr is only used by
> gtkmm as far as I am aware in return values and as function arguments.
> You should be able to use the auto keyword now with any gtkmm function
> returning a RefPtr, with gcc-4.3 and greater with the -std=gnu++0x flag
> for the compiler. (Note I said "should" - I haven't tried it.)

I tried it, and it works. I even mentioned it before on this list.

As for C++0x improvements in gtkmm, the following purely practical
things would be nice:

1. Better bindings for GOption, using initializer lists and such.
2. A variadic template for Glib::build_filename.
3. Lambdas in sigc++.

Regards, Krzysztof.


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