Yes, but if the compiler can't find getline in namespace std then it bombs
out. Since it can only look in the #included files and getline is in
<stringstream> or suchlike, but not <string>, then #include "LString.h" in
insetcollapsable.C causes an error.
A
On Friday 23 March 2001 16:03, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> The using std::getline fix kills compilation in
> Angus> insetcollapsable.C (also updated) because getline is not a
> Angus> meber of std. Ie, the header file should be #included first. Do
> Angus> you REALLY want to go down this path?
>
> Huh? Which header file should be before which one? Could you elaborate
> on the error you get? The idea is only that, since LString.h brings
> std::string to global namespace, it should bring getline too.
>
> JMarc
> _______________________________________________
> Cvslog mailing list
> [EMAIL PROTECTED]
> http://www.lyx.org/mailman/listinfo/cvslog