This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] remove non-standard basic_filebuf members, fd, FILEfilebufs
- From: Jason Merrill <jason at redhat dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 30 Apr 2002 13:26:28 +0100
- Subject: Re: [v3] remove non-standard basic_filebuf members, fd, FILEfilebufs
- References: <200204270520.g3R5KRS26509@fillmore.constant.com>
>>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:
> ! // Allocate internal buffer.
> ! try { _M_buf = new char_type[_M_buf_size]; }
> ! catch(...)
> ! {
> ! delete [] _M_buf;
> ! __throw_exception_again;
> ! }
BTW, what is the purpose of this construct? If new throws, _M_buf will not
have been initialized.
Jason