This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Collation implementation
- To: bonzini at gnu dot org
- Subject: Re: Collation implementation
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 18 Jun 2000 17:03:06 +0200
- CC: libstdc++ at sourceware dot cygnus dot com, bonzini at gnu dot org
- References: <Pine.LNX.4.10.10006140957500.7129-100000@pc-amo3.elet.polimi.it>
> In particular, I'm facing the problem of accessing more than one
> locale at the same time through different instances of the `facet'
> classes.
I believe it is not possible to implement this in a reliable and
portable way; you need certain help from the C library (or else it
will be inefficient and thread-unsafe, or using a different database
than the C library).
For the GNU C library, the <xlocale.h> header file, and the
__newlocale function, allow the implementation of true locale objects,
as required for C++. You may want to contact Ulrich Drepper, who has
designed these interfaces.
Regards,
Martin