From: Tom (at_at_[hidden])
Date: 2005-09-07 15:20:39
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?
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.
> > Thanks
> > Tom
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk