Forked from
redox-os / gcc
paolo
authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118114 138bc75d-0d04-0410-961f-82ee72b054a4