Collation implementation

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Jun 19 11:57:00 GMT 2000


> 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


More information about the Libstdc++ mailing list