Boost logo

Boost :

Subject: Re: [boost] [locale] Documentation correction
From: Howard Hinnant (howard.hinnant_at_[hidden])
Date: 2011-07-17 17:23:35


On Jul 17, 2011, at 5:09 PM, Beman Dawes wrote:

> Mac OS X is of particular interest because by default locale("") does
> fall, and the Apple folks have said in the past that they won't fix
> it. It fails on my Mac mini in the default configuration. Presumably
> the Darwin regression test machine has something beyond the default
> configuration.

Going forward libc++ on Mac OS X (http://libcxx.llvm.org/) will support a vast array of locales, including "". This is based on BSD's xlocale API:

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/xlocale.3.html

The behavior of "" mimics that of "" passed to newlocale:

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/newlocale.3.html#//apple_ref/doc/man/3/newlocale

Howard


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