$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Scott Meyers (Usenet_at_[hidden])
Date: 2003-12-11 12:57:00
On Thu, 11 Dec 2003 08:32:06 +0100, Galante Michele wrote:
> int processFile(const fs::path& fileName)
> {
> fs::path copyFileName(fileName.string() + ".bak");
> fs::copy_file(fileName, copyFileName);
> }
I had tried this before. It also throws.
> or as:
>
> int processFile(const fs::path& fileName)
> {
> fs::path copyFileName(fileName.native_file_string() + ".bak",
> fs::native);
> fs::copy_file(fileName, copyFileName);
> }
This works. Thanks very much!
Scott