This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: basic_string missing clear() method in 2.95.2
- To: panisset at discreet dot com
- Subject: Re: basic_string missing clear() method in 2.95.2
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 16 Mar 2000 10:58:48 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <38D04C91.3557CF25@discreet.com>
> In gcc 2.95.2, the basic_string class defined in:
>
> libstdc++/std/bastring.h
>
> is missing a clear() method. According to the ISO C++
> standard, section 21.3.3:
Thanks for your bug report. This is, in principle, a known bug, see
http://gcc.gnu.org/bugs.html#library
for details. If you would like to see this feature before libstdc++ v3
is released, please submit a patch to gcc-patches@gcc.gnu.org.
Regards,
Martin