Collation implementation
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sun Jun 18 08:09:00 GMT 2000
> 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
More information about the Libstdc++
mailing list