Dekel Tsur <[EMAIL PROTECTED]> writes:
| PS: We are still using ostringstream in many places. Is this a
| problem ?
No, not really.
| In particular, the code of GetFileContents in support/filetools.C seems
| problematic as it works exactly like the old lyx::sum.
I don't want to change this.
ofs << ifs.rdbuf() is suppsed to be, in a correct library
implementation, the fastes way of copying the contents of one stream
to another. And besides here, as we didn't in lyx::sum, we really need
the whole contents at the same time, not a just a char at a time.
--
Lgb