What's wrong with that? Nobody prevents you from wrapping them in some smart pointer classes provided you know what you are doing.
C++ exceptions suck.2. What about not using exceptions to communicate errors?
If by "standard" you mean std::vector and family then Qt containers have conversion methods to and from STL counterparts.3. What does Qt do to support standard containers?
No, because there are platforms without STL implementations (or with broken ones) so in those situations you have to use Qt containers. Apart from that Qt containers and STL containers are API compatible. Qt containers tend to be faster, though. And of course they have some methods STL ones don't, i.e. QString::split().Can I use standard container in every place I can use qt container?
I guess I already answered that.If the answer is not does qt provide adapters at least?
QString::fromStdString(), QString::toStdString(), QString::fromStdWString(), QString::toStdWString(). Enough? Bear in mind std::string is not Unicode compatible so you might experience loss of functionality.(Bear in mind a string is a container, too.)
You can use Qt containers with STL algorithms.4. What does Qt do to make it easy to use its containers with the rest of the Standard
Library?
No, because they are compatible. No adapters are required.Does Qt provide adapters so that I could use qt container in every place I can use a
standard one?
I guess that's settled then.These are the things that come to mind when one uses any C++ library.
Oh, this has already been argued - "use templates instead of moc". I can redirect you to the documentation, that's a big topic. Bottom line is moc gives you some benefits that wouldn't be possible with templates and you don't have to use moc if you don't want to - use Boost signals.5. Has anyone from Qt checked how much of moc could be implemented with features
found in current standard?
This I have no chance of knowing but I guess the word "upcoming" says it all. I think once all supported platforms have compilers supporting C++1x (there is no way it's going to be called 0x, it's already 2009) we might return to the topic but now this is only academic talk bearing the fact C++1x is still fluctuating.Has this been tried with features from upcomming standard?
I'm not aware of such document. If you're interested in it, I think contacting Matthias Ettrich would be the best way of answering your question.6. Is there any official document stating what's Trolltech/Nokia position with regard to
using new language features?
Please ask them, we'll try our best to answer them.I'm sure I'll have more questions in the course of learning and using Qt.
Edit: by the way, C++1x (or 0x, whatever you want to call it) will not be any revolution compared to C++03. It will just make some things easier for developers but there will be no sense in rewriting code that is already written unless you have situations where the new standard will yield an execution performance boost. Again, nobody prevents you from using a C++0x compiler with Qt even now.
Bookmarks