Boost logo

Boost :

Subject: Re: [boost] Boost filesystem get_temporary_file()
From: Ross Levine (ross.levine_at_[hidden])
Date: 2009-07-17 14:40:09


I think this is a good idea, like the C functions tmpfile and tmpnam.
Perhaps returning a boost::shared_ptr<fstream> with a custom deleter?

On Fri, Jul 17, 2009 at 11:30 AM, Craig Henderson <
cdm.henderson_at_[hidden]> wrote:

> I cannot find any function in the Boost.Filesystem library to get a
> temporary filename. There has been some discussion about this functionality
> on the lists many years ago - did anything come of this?
>
>
>
> I need a cross-platform way to do this and was hoping boost would provide
> it
> :)
>
>
>
> Thanks
>
> -- Craig
>
>
>
> Craig Henderson
>
> <http://craighenderson.co.uk/> http://www.craighenderson.co.uk
>
> http://www.siteupdatenotification.com
>
>
>
> _______________________________________________
> 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