Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-03-11 12:10:25


At 08:45 AM 3/11/2004, Neal D. Becker wrote:

>I am using the following common idiom:
>
>link (name, name.old)
>rename (name.new, name)
>
>To update a file atomically
>
>I'm interested in using boost::filesystem instead of libc, but I didn't
>find any equivalent of link in filesystem. Did I miss it?

No, it isn't provided.

>Should it be added?

It is messy for directories on Windows. That's been the holdup. There are
also some other Boost.Filesystem enhancements which have higher priority.
So unless someone else wants to work up a proposed Windows implementation,
it won't happen anytime soon.

Sorry,

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk