|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-09-08 17:16:47
Beman Dawes wrote:
> "Tomek" <at_at_[hidden]> wrote in message
> news:Pine.LNX.4.58.0509071815370.26925_at_rex.anfa.pl...
>>
>> Hi,
>>
>>
>> Can you add to boost::filesystem namespace class for temporary files
>> which will remove file on object destruction ?
>>
>> I prepared same sample code : http://psycho.pl/pub/src/tmpfile.cc
>>
>> If you say that this is ok, I will write it using boost library and
>> also working on win32.
>
> I'm definitely interested, although the specification is of more
> interest than the actual code. I'm particularly interested in
> resolving any differences between POSIX and Windows, and avoiding
> security issues.
>
> It is a bit surprising that this is the first request I can recall
> for a temporary file facility. Seems like a natural addition.
I've been planning such a facility for iostreams, but filesystem seems like a
better home for it, especially if I don't have to code it. ;-)
temp_file would be used extensively by the iostreams (and serialization?) tests.
> --Beman
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk