1 #ifndef STLHELPERS4QT_H
2 #define STLHELPERS4QT_H
9 * Outputs the contents of a QList<QVariant> container to a std::ostream object.
10 * @param stream the stream to output to
11 * @param val the container that is put to the stream
12 * @return the same stream that was passed as the parameter @a stream
14 std::ostream& operator<<(std::ostream& stream, const QList<QVariant> &val)
18 foreach (const QVariant &v, val) {
22 stream << v.toString().toStdString();
28 #endif // STLHELPERS4QT_H