Boost logo

Boost Users :

Subject: Re: [Boost-users] [filesystem] how to set a file size?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-10-17 10:34:24


Scott McMurray wrote:
> 2009/10/16 Beman Dawes <bdawes_at_[hidden]>:
>> I found the POSIX "truncate" name misleading, since on both POSIX and
>> Windows the file can be extended as well as truncated.
>>
>
> Agreed, but why size for a mutating function? I'd have expected
> resize_file or similar.

The idea was that the getter and setter functions would have the same
name. But I like the resize_file name, and will change to that.

Thanks,

--Beman


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net