libstdc++/8230
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Wed Nov 20 05:06:00 GMT 2002
The following reply was made to PR libstdc++/8230; it has been noted by GNATS.
From: bkoz@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: libstdc++/8230
Date: 13 Nov 2002 22:15:17 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bkoz@gcc.gnu.org 2002-11-13 14:15:17
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: stl_bvector.h vector.tcc
libstdc++-v3/testsuite/23_containers: vector_capacity.cc
Log message:
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8230
* include/bits/vector.tcc (vector::reserve): Throw length_error if
requested size is bigger than max_size().
* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
* testsuite/23_containers/vector_capacity.cc (test02): Add.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1426&r2=1.1427
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_bvector.h.diff?cvsroot=gcc&r1=1.17&r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/vector.tcc.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector_capacity.cc.diff?cvsroot=gcc&r1=1.3&r2=1.4
More information about the Gcc-prs
mailing list