libstdc++/8230
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Mon Dec 2 12: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: 2 Dec 2002 20:01:55 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: bkoz@gcc.gnu.org 2002-12-02 12:01:55
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: stl_bvector.h stl_vector.h
libstdc++-v3/testsuite/23_containers: vector_capacity.cc
Log message:
2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8230
* include/bits/stl_vector.h (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&only_with_tag=gcc-3_2-branch&r1=1.1057.2.159.2.58&r2=1.1057.2.159.2.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_bvector.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.11.2.3&r2=1.11.2.3.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_vector.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.17.2.4&r2=1.17.2.4.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector_capacity.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.3&r2=1.3.20.1
More information about the Gcc-prs
mailing list