This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Collation implementation
- To: dietmar_kuehl at yahoo dot com
- Subject: Re: Collation implementation
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 19 Jun 2000 20:52:37 +0200
- CC: libstdc++ at sourceware dot cygnus dot com
- References: <20000619112544.25342.qmail@web701.mail.yahoo.com>
> Matt Austern has defined a C API to locale data which he uses in the
> SGI implementation of locales. I'm using the same interface in my
> implementation.
From http://www.sgi.com/Technology/STL/standard_library.html, I read
# This iostream/locale library is intended to coexist with a
# preexisting C library. It assumes that for any C library
# implementation there is some way---just not a portable way---to get
# at the underlying data files so that we can have multiple active
# locales.
Isn't that the approach taken in glibc as well? You define an
interface to the underlying data, and then use it to put the C locale
and the C++ locale interfaces on top of it.
Regards,
Martin