On Fri, Feb 14, 2003 at 12:03:20PM +0000, Angus Leeming wrote:
> > +   stringstream data;
> > +   params().write(data);
> > +   lyxfunc().dispatch(FuncRequest(action_, data.str()));
> >  }
> >
> > I really think you should use ostringstream for write-only streams.
> > Makes things a bit more obvious...
> 
> Won't work. I pass it to dispatch which ends up extracting the data using an 
> istream...

But you don't pass the stream, you pass a string here.

> Sigh. I enjoy the proof of principle bit, but going over each of 30 different 
> insets fills me with loathing :-(

Poor little tiger...

But you will be the hero of your neighbourhood if you finish this.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to