How do I select a version of libstdc+ to link against?
David Aldrich
David.Aldrich@EMEA.NEC.COM
Thu Sep 22 11:06:00 GMT 2011
> > If the Ubuntu case is using that library, that could explain the failure.
>
> Why not use ldd to be sure?
>
>
> Anyway, the right way to write that loop is:
>
> while (iss>>std::boolalpha>>b)
> {
> myVect.push_back(b);
> }
>
> It seems to be the most common error with iostreams to try and test stream
> states explicitly and unnecessarily, which leads to verbose and complicated
> code.
>
Thanks very much for your help.
More information about the Libstdc++
mailing list