Skip to content
Snippets Groups Projects
Commit cd23dcfc authored by paolo's avatar paolo
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118114 138bc75d-0d04-0410-961f-82ee72b054a4
parent 65df050e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment