$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-03-23 06:33:47
Vladimir Prus wrote:
>
> Empty file is simple:
>
> ofstream ofs("name of file");
>
But it would be helpful if boost would add a function that would fail if
the file already exists. The current STL doesn't support this so you
have to fall back to platform API (in Win32, CreateFile has a flag to do
this).
This would be a very useful feature IMHO.
Cheers
Russell