Hi guys.Does anyone who studied the implementation of stringstreams know if :
char c;
std::stringstream ss;
ss << std::fstream ("file.xml",std::ios::in).rdbuf();//this is eqaul in terms of speed
while (ss.get(c)) {} //with this?
std::ifstream f("file.xml");
while (f.get(c)) {} //or this?
Thanks a lot.