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


> 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

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