|
Boost : |
From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-03-11 14:17:47
Beman Dawes wrote:
> 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.
>
You mean no functions can be added to Boost::Filesystem unless they are
supported on all systems? I'm surprised (and disappointed).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk