Topic: Sec. 27.1.1 screws up sec. 27.5.2.4.1 (in C++/1998)


Author: dwalker07@snet.net (Daryle Walker)
Date: Sun, 2 May 2004 20:28:08 +0000 (UTC)
Raw View
Sorry if this has already been reported.  I think TC1 has come out, but
this is for the original 1998 version (so it may have already been
fixed).

[In another post I said that 27.1.1 should switch "ios_base" and
"basic_ios".]

It seems that section 27.1.1 [lib.iostream.limits.imbue] prevents any
stream-buffer's "imbue", in section 27.5.2.4.1
[lib.streambuf.virt.locales], to do any cascading to a parent.  By a
"parent", I mean a base stream-buffer class's version of "imbue" that
the current class wants to enhance, or a contained stream-buffer object
or pointer for filtering purposes.  Both cascading cases need the
current stream-buffer's "imbue" to call the parent's "imbue", which
27.1.1 bans.

--
Daryle Walker
Mac, Internet, and Video Game Junkie
dwalker07 AT snet DOT net

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]