Boost logo

Boost :

From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-03-11 08:45:08


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? Should it be added?


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