Boost logo

Boost :

Subject: Re: [boost] [Filesystem V3] file_status over-design?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2010-02-23 20:15:05


On Tue, Feb 23, 2010 at 8:53 AM, Edward Diener <eldiener_at_[hidden]> wrote:
...
>> The fix would be to rename the enum as file_status, and remove the
>> current class file_status entirely. That would break a certain amount
>> of existing code, but I suspect the C++ committee would force such a
>> change anyhow for TR2, so better to get it over with now.
>>
>> Comments? Opinions?
>
> Keep the status() function but add a filetype() function which returns a
> file_type enumerated value.

Hum... That would ease the transition. It has also gotten me thinking
about other ways to minimize breakage of existing code. More later.

Thanks,

--Beman


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