From: Robert Ramey (ramey_at_[hidden])
Date: 2005-01-22 20:57:08
Jonathan Turkanis wrote:
> Robert Ramey wrote:
>> a) Creating the temporary file. mktemp gives ona file descriptor -
> I assume you mean mkstemp
>> not a stream. There is no easy way to turn this into a real stream -
>> with facets, and everything else.
> typedef stream_facade< code_converter< file_descriptor> >
> Coming soon to CVS nearest you. :-)
Could you please double check the file test_tools.hpp in
libs/serialization/test to see what I had to do to make a crude but
effective substitute for what I needed. I seem to remember a lot of
aggravation in dealing with different compile implementations.
Now that I've written the above, I wonder if a better string_stream might
not be better in many cases. My files are small. When I looked at string
stream before, it didn't handle codecvt facets which made me skeptical about
using for my tests. Hmmm - maybe codecvt facets don't make any sense in
string stream - more food for thought.
In any case, your understanding of what I'm asking for is correct. Thanks a
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk