So lately, I've been experimenting with Qt and I'm loving it thus far.
What impressed me very much was how easy it is to write variables to a file.
For example the container QMap myvar.
I'd just write
in >> myvar
out << myvar
It's as simple as that.
I'm pretty sure you can't do this with, let's say a vector.
But I'm just making sure :)
quick answer would be much appreciated :D
or something like that anyway..
(Though on the other hand, I don't think T could be deduced from std::vector<T>..
I'm not sure it there is a way then. Unless you write the operator for strings only, of course) edit: yeah, a reference..