This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
implementation of ctype facet
- To: Cygnus C++ Standard Library List <libstdc++ at sourceware dot cygnus dot com>
- Subject: implementation of ctype facet
- From: Matt McClure <matthew dot mcclure dot es dot 99 at aya dot yale dot edu>
- Date: 20 Dec 1999 09:39:27 -0500
I've been looking at the implementation of the ctype virtual functions
in bits/locale_facets.h, and I'm surprised to see empty definitions with
the following comment in each:
// XXX Need definitions for these abstract mf's.
Section 22.2.1.1.2 of the C++ standard specifies effects and return
values for each of the virtual functions in the general case, so I
assumed that real definitions would be required.
I thought that perhaps the current definitions were just placeholders
for things to be implemented later, but the FAQ says:
What works: (noted with the chapter # of the ISO-14882 standard)
-----------
[...]
- locale, some facets (ctype, num_put, collate), stubs for the rest. (22)
Does the current implementation comply with the standard? If so, why
are real definitions not required?
As an aside http://sourceware.cygnus.com/libstdc++/ says
libstdc++-2.90.7.tar.gz is the most recent release, but I only see
libstdc++-2.90.6.1.tar.gz on the ftp site.
--
Matt
http://www.faradic.net/~mmcclure/