Just a quick question here guys. I\'ve been searching to no avail so far.
A bit more info here:
stringstream report_string; report_string << \
Use eof() instead.
Sample Code:
stringstream report_string; if ( !(report_string.eof()) ) cout << "report_string EMPTY! \n";