On Fri, 2012-11-23 at 21:07 +0100, Florian Philipp wrote: > Am 23.11.2012 20:50, schrieb Tristan Matthews: > > 2012/11/23 Murray Cumming <[email protected]>: > >> Maybe we could add C++11 move constructors to the gtkmm classes, > >> where appropriate, inside ifdefs to prevent them from breaking the > >> build when C++11 is not enabled/supported by the compiler. > > > > How would you test for C++11? An AC_COMPILE_IFELSE test that builds > > a class with a move constructor? > > > > -Tristan > > > > That seems to be the only sensible way. Of course, this also means we > have to test for each C++11-feature independently.
Yes, that's the right thing to do, I think. When C++11 is widely (and officially) supported by compilers, we won't need these tests so much anyway because we could just demand C++11. But that might take a couple more years. -- [email protected] www.murrayc.com www.openismus.com [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
