Am 26.06.2013 12:33, schrieb Reece Dunn:

    >
    > It would probably be possible to build gtkmm with C++11 functionality
    > and then build an application without, if the move constructors
   in the
    > header files are preceded by something like
    >
    > #if GTKMM_CAN_USE_MOVE_CONSTRUCTORS && (__cplusplus >= 201103L ||
    > defined(__GXX_EXPERIMENTAL_CXX0X__))
    >
    > where GTKMM_CAN_USE_MOVE_CONSTRUCTORS is defined in gtkmmconfig.h.


I think using C++11 features is a good idea, but you shouldn't rely on __cplusplus being set to 201103 or higher, as most compilers (or all?) didn't set it so yet, probably because they don't support every single feature.
g++ 4.8 has it set to 199711 for instance.
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to