Boost logo

Boost :

From: Jan Hermelink (Jan.Hermelink_at_[hidden])
Date: 2006-03-08 14:36:45


>> 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!

Shure. Patch against current CVS attached.

>> 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.

I see. It's a pity, it would be fine to have m_path1 and m_path2
provided by the what() member...

Cheers,
  Jan




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