Reputation: 2118
Has anyone done some programming with Qt using C++0x? How is it working out? Is it possible to use all the nice features of C++0x? What compiler and version are you using?
Im currently using gcc 4.6 and trying out all the c++0x features but i have not yet done anything with Qt.
Upvotes: 4
Views: 1698
Reputation: 2118
It seems like some of the C++0x standard will be implemented in Qt 4.8 http://labs.qt.nokia.com/2011/05/26/cpp0x-in-qt/
Upvotes: 2
Reputation: 1061
Even though Qt doesn't use any C++0x features itself (as far as I know), it is certainly possible to write C++0x code that uses Qt. Problems could arise if any of the new syntax confuses the moc
parser, but that should only matter in classes containing the Q_OBJECT
macro.
Upvotes: 0
Reputation: 25680
Range-based for should be possible as Qt's containers have the standard container interface, more or less.
Upvotes: 1
Reputation: 36423
Qt pretty much replaces all standard library features. As for core features, it definitely won't happen soon as Qt supports a wide range of compilers.
Upvotes: 3