Error 1 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'
I have found that compiling under multiple compilers will give you just enough info to actually find the error. In my case I was trying to add a std::fstream to a std::vector. So the error was technically correct, but didn't indicate that you cannot do that.
No comments:
Post a Comment