Subject: Re: [boost] [filesystem] Version 3 request for comments
From: John Maddock (john_at_[hidden])
Date: 2009-02-02 12:17:17
>> for a fuller description of the prototype and links to the prototype
> 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
Throws: runtime_error if the argument is not valid, or is null.
Remarks: The set of valid string argument values is "C", "", and any
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk