Can someone explain what this code does? I think i have an idea but not quite sure
1 2 3 4
stringstream ss; //copys content into variable ss
ss<<typeid(a.elems[i]).name(); //referring to an index of a.elems.name(), which a for loop incremented(not including the for loop here)
string temp; //create a temporary variable to hold a data type of string
ss>>temp; //temp variable to hold ss data