2012-10-03 Paolo Carlini <paolo.carlini@oracle.com>
commit33efe4a655bfa5fceb3bacc1905e118cf514fc5a
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2012 00:02:29 +0000 (4 00:02 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2012 00:02:29 +0000 (4 00:02 +0000)
treebd4ef8114921e12b4aeffda3a0699f1c5679f17b
parent68dd54731b19ab8bd26b091b2dd16c3fe9f40ef5
2012-10-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53248
* include/std/array (__array_traits<>): Add.
(array<>): Allow for zero-size arrays of non default-constructible
elements.
* testsuite/23_containers/array/requirements/
non_default_constructible.cc: New.
* testsuite/23_containers/array/requirements/zero_sized_arrays.cc:
Adjust.
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
dg-error line numbers.
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192056 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/array
libstdc++-v3/testsuite/23_containers/array/requirements/non_default_constructible.cc [copied from libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc with 58% similarity]
libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc