r118116 - in /branches/gcc-4_2-branch/libstdc++...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Sat Oct 28 22:04:00 GMT 2006
Author: paolo
Date: Sat Oct 28 22:04:32 2006
New Revision: 118116
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118116
Log:
2006-10-28 Paolo Carlini <pcarlini@suse.de>
* include/tr1/array (array<>::_M_at): New.
(array<>::at): Fix off-by-one bug, use the above.
* testsuite/tr1/6_containers/array/element_access/
at_out_of_range.cc: Adjust.
* include/tr1/array (class array<>): Remove non-conforming default
for the second parameter.
* include/ext/array_allocator.h: Adjust.
* include/tr1/array (array<>::front, array<>::back): Do not return
a reference to memory not belonging to the array when _Nm == 0.
Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
branches/gcc-4_2-branch/libstdc++-v3/include/ext/array_allocator.h
branches/gcc-4_2-branch/libstdc++-v3/include/tr1/array
branches/gcc-4_2-branch/libstdc++-v3/testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc
More information about the Libstdc++-cvs
mailing list