This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Collation implementation


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]