|
Boost : |
Subject: Re: [boost] [filesystem] Version 3 request for comments
From: John Maddock (john_at_[hidden])
Date: 2009-02-02 12:17:17
>> See
>> http://svn.boost.org/svn/boost/sandbox/filesystem-v3/libs/filesystem/doc/v3_design.html
>> for a fuller description of the prototype and links to the prototype
>> implementation.
>
> locale( "" ) is not correct on Mac OS X, where the API always takes UTF-8
> char* and the filesystem uses wchar_t internally (AFAIK).
This is irrelevant from a practical point of view, but the standard requires
that "" be recognised as a valid locale:
"explicit locale(const char* std_name );
Effects: Constructs a locale using standard C locale names, e.g. "POSIX".
The resulting locale implements semantics defined to be associated with that
name.
Throws: runtime_error if the argument is not valid, or is null.
Remarks: The set of valid string argument values is "C", "", and any
implementation-defined values."
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk