Hello,
I need to store ordered sets of various types so I thought STL sets would be just the thing, so I wrote a test programme that began like this:

Qt Code:
  1. #include <QtCore/QCoreApplication>
  2. #include <set>
  3. #include <iterator>
  4. #include <iostream>
  5. using std::cout;
  6. using std::endl;
  7.  
  8. int main(int argc, char *argv[])
  9. {
  10. QCoreApplication a(argc, argv);
  11. set<int> intSet1;
  12. // more follows
To copy to clipboard, switch view to plain text mode 

Unfortunately the compiler tells me that "set was not declared in this scope".

Is STL not supported, or have I made a mistake?
I'm using QTCreator++ 1.3.0 with MinGW in Windows XP