
On Wed, 7 Sep 2005, Suman Cherukuri wrote:
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.
Along the lines (temp file), does it make sense to add support for creating temp files in the default temp folder based on the OS (and support to override the default) with a unique name automatically generated?
--Suman
Sometimes programs need to create any file to put there same output and give this file ( for example by file name ) to another program or library. It isn't of course perfect solution, but why not if you would need it ? This wrapper of C-function : mktemp() , frees you from duty to clean up. (removing files) Tom
Thanks Tom _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost