libstdc++: P2116R0 Remove tuple-like protocol support from fixed-extent span
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Feb 2020 12:29:29 +0000 (12:29 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 18 Feb 2020 17:41:57 +0000 (17:41 +0000)
commitf5b4dc38852f755de9c48cb78a773ab4e84b8078
tree4a6eee1406af310422fbdb41557d107b74a5507e
parentaa667c3f36d6a78e1b38e7a9a26899fd385bfcb7
libstdc++: P2116R0 Remove tuple-like protocol support from fixed-extent span

Following this change it's no longer possible to use std::span with
structured bindings or with the tuple-like API. It will probably come
back for C++23 though.

P2116R0 Remove tuple-like protocol support from fixed-extent span
* include/std/span (get, tuple_size, tuple_element): Remove.
* testsuite/23_containers/span/everything.cc: Remove checks for
tuple-like API.
* testsuite/23_containers/span/get_neg.cc: Remove.
* testsuite/23_containers/span/tuple_element_dynamic_neg.cc: Remove.
* testsuite/23_containers/span/tuple_element_oob_neg.cc: Remove.
* testsuite/23_containers/span/tuple_size_neg.cc: Remove.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/span
libstdc++-v3/testsuite/23_containers/span/everything.cc
libstdc++-v3/testsuite/23_containers/span/get_neg.cc [deleted file]
libstdc++-v3/testsuite/23_containers/span/tuple_element_dynamic_neg.cc [deleted file]
libstdc++-v3/testsuite/23_containers/span/tuple_element_oob_neg.cc [deleted file]
libstdc++-v3/testsuite/23_containers/span/tuple_size_neg.cc [deleted file]