Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-23 14:08:34

At 11:50 AM 2/23/2002, jan_langer wrote:

>--- In boost_at_y..., Dan Nuffer <dnuffer_at_c...> wrote:
>> Beman Dawes wrote:
>> >I've written a design document for a file system library. See
>> Looks like a great start.
>> One thing that isn't clear: Does a filepath
>> contain text suitable to pass to a fstream constructor? If not,
>> one operation I think should be added:
>> - Given a filepath, return a char const * suitable for a fstream
>if i understood the document correctly filepath is only a normal
>string and you can pass filepath.c_str () to the fstream.


>other filesystem related things:
>davlet_panech mentioned a class syscall_error. i think this is quite
>useful since
>"Unless otherwise specified, operations throw exceptions if they do
>not complete successfully."
>and there is already such a class in the dir_it package.

Yes. I'm using the syscall_error (renamed filesystem_error) class from
dir_it in my experiments. I moved it to its own header. (I've also
renamed dir_it -> directory_iterator.)

>in the document it says "A standard set of attributes is encouraged."
>i tried to address this in
>but noone was interested in discussing it :-(

I'm very interested in it, but didn't feel I could discuss it (or dir_it or
several pathname postings) without first understanding the overall design
requirements and goals. If it looks like the way we want to go, I'll help
with the Win32 implementation.

I've also been trying to understand the Boost Property Map Library Have you looked
at that, and can you use it as mechanism?


Boost list run by bdawes at, gregod at, cpdaniel at, john at