Hi,
I'm trying to do a vector of stringstreams so i can edit/manipulate them using vector functions as i have already done using strings.
everything was going fine using...
std::vector<std::stringstream> myVector
However i'm getting the error "cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'" on this line...
myVector.reserve( size ); //where size is unsigned int
is it an obvious mistake to use a vector of stringstreams? is it possible to use vector functions such as vector::reserve and also generate_n to push stringstreams onto the back of the vector?
thank you