There is a gtkmm-list thread from November 2012, discussing move constructors in gtkmm and glibmm. The thread starts at
https://mail.gnome.org/archives/gtkmm-list/2012-November/msg00072.html

Move constructors will most probably be added in the future, but I don't know if it will be in the near future or in the far future. It all depends on volunteers. If you're willing to do some of the job yourself, you're welcome.

Kjell

2013-02-13 16:03, Doesnt Stop skrev:
you could use std::u16string or std::u32string instead of Glib::ustring; they would handle hebrew, no problem. Take advantage of C++11 new features!

----- Original Message -----

From: [email protected]

Sent: 02/12/13 01:13 PM

To: [email protected]

Subject: Glib::ustring move constructor and C++11 features

Hi everybody,

I've been writing an application which loads a possibly long
Glib::ustring from a file and stores it as a data member of a c++ class
I wrote. I wanted to use a move-constructor to pass that string to the
class constructor by rvlaue reference, but Glibmm doesn't use C++11
features.

Are glibmm and gtkmm going to use C++11 features? I mean, should I write
my code while assuming I should expect glibmm and gtkmm to offer move
constructors and other useful C++11 features (e.g. std::shared_ptr) in
the near future?

Anatoly Krasner



_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to