I want to store a sequence of string in a queue. This seems pretty simple if i use the member function push()
queue test;
string s0(\"s0\"), s1(
Qt containers work exactly like this:
QStringList list;
list << "Sven" << "Kim" << "Ola";
QVector vect = list.toVector();
// vect: ["Sven", "Kim", "Ola"]
If you want the same to work with STL containers, you would need to write the operator overloading yourself but obviously you can't add operations to std namespace.