libstdc++/2020

benjamin kosnik bkoz@nabi.net
Wed Mar 14 12:56:00 GMT 2001


The following reply was made to PR libstdc++/2020; it has been noted by GNATS.

From: benjamin kosnik <bkoz@nabi.net>
To: gcc-gnats@gcc.gnu.org, bumgard@roguewave.com, nobody@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/2020
Date: Wed, 14 Mar 2001 12:48:53 -0800

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2020&database=gcc
 
 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
 
 	libstdc++/2020
 	* include/bits/std_streambuf.h: Remove cached locale facets.
 	(basic_streambuf::_M_buf_fctype): Remove.
 	(basic_streambuf::~basic_streambuf): Remove here.
 	(basic_streambuf::basic_streambuf): Same.
 	(basic_streambuf::imbue): Same.
 	* include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
 	* include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
 	(basic_filebuf::~basic_filebuf()): Remove here.
 	* include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
 	(basic_filebuf::imbue): Same.
 	* include/bits/localefwd.h (_Count_ones): Remove.
 	(locale::_S_num_categories): Just use 6, since this doesn't
 	actually change, ever.
 	* include/bits/locale_facets.tcc (has_facet): Simplify.
 	(use_facet): Same.
 	* testsuite/27_io/filebuf.cc (test06): Add tests.
 	
 
 Fixed.
 
 Please read the commit message here:
 
 http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00977.html
 
 
 This is one more step on getting codecvt working in filebufs, more
 necessary.
 
 Which of your bugs are still outstanding?
 
 -benjamin



More information about the Gcc-prs mailing list