Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-03-08 11:49:29


"Jan Hermelink" <Jan.Hermelink_at_[hidden]> wrote in message
news:EB650214CCEA984983BC694221A6D3BF06D6EF_at_JUPITER.muenchen.metalogic.de...
>> PS: I'd like to hear from programmers using wide character file names.
> Are
>> they working OK? Are they meeting your needs?
> I use the wide character names for about three months with VC8 and after
> applying a similar patch like Mark I'm very satisfied with the library!
> Thank you.
>
> Three items doesn't meet my needs:
>
> As already reported in
> http://article.gmane.org/gmane.comp.lib.boost.devel/128277,
> narrow_path() doesn't work if short filename generation is disabled. As
> a workaround I have fstream.hpp patched for using the non-standard wide
> char fstream constructors in VC8 (Dinkumware library). Indeed this works
> for VC8 only...

Would you like to contribute your patch? That might be faster and easier
than waiting for me to get around to it!

> I would like to see a what() method in basic_filesystem_error.

It already has one, inherited from base class.

> Ok, I
> have seen the free function what() but what it's the rationale not
> including it in the exception object?

The what() free function provides more elaborate formatting. The member
what() function is minimal, and so doesn't have as many memory allocation
issues. The approach is take to follow the guidelines at
www.boost.org/more/error_handling.html.

> The documentation is yet incomplete (for instance the convenience
> functions are not documented I think).

Yep, more work still needed.

Cheers,

--Beman


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