1 Dec
2001
1 Dec
'01
12:09 p.m.
Dear all,
I am trying to use the any class in a project. I would need to print
elements of a vector<any>. I have come to the following solution as an
example:
template<class T>
inline ostream& operator<<(ostream &os, const vector<T> &v)
{
vector<T>::const_iterator iter(v.begin());
for (int c(0), n(v.size()); c