gcc/libstdc++-v3/include
Benjamin Kosnik aed305a929 array (array): Make safe for zero-sized arrays.
2004-10-21  Benjamin Kosnik  <bkoz@redhat.com>

	* include/tr1/array (array): Make safe for zero-sized arrays.
	(array::end): Return one past the end.
	(array::at): Use __throw_out_of_range, include functexcept.h.
	(operator==): Implement.
	(operator!=): Same.
	(operator<): Same.
	(operator>): Same.
	(operator>=): Same.
	(operator<=): Same.
	* testsuite/tr1/6_containers/array/capacity/(empty.cc,
	max_size.cc, size.cc): New.
	* testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
	greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
	not_equal): New.
	* testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
	New.
	* testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
	New.
	* testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
	* testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
	instantiate, typedefs, zero_size_arrays): New.

From-SVN: r89429
2004-10-22 05:32:16 +00:00
..
backward
bits array (array): Make safe for zero-sized arrays. 2004-10-22 05:32:16 +00:00
c
c_compatibility
c_std
debug
ext bitmap_allocator.h (allocate): Throw std::bad_alloc when n > max_size(). 2004-10-21 00:06:02 +00:00
std std_memory.h (__get_temporary_buffer): Don't use INT_MAX... 2004-10-09 08:23:02 +00:00
tr1 array (array): Make safe for zero-sized arrays. 2004-10-22 05:32:16 +00:00
Makefile.am tr1: New. 2004-10-07 22:06:23 +00:00
Makefile.in tr1: New. 2004-10-07 22:06:23 +00:00
stdc++.h