gcc/libstdc++-v3/doc/xml/manual
Jonathan Wakely b5c433ce11 Improve precondition checks for std::span
* doc/xml/manual/status_cxx2020.xml: Update status for P0122R7 and
	P1024R3. Remove entry for P0920R2.
	* include/std/span  (__cpp_lib_span): Change value.
	(__extent_storage, __extent_storage<dynamic_extent>): Remove default
	constructor.
	(span): Replace __extent_storage base class with data member.
	(span::_S_subspan_extent): New function.
	(span::empty()): Add nodiscard attribute.
	(span::front, span::back, span::operator[]): Check preconditions.
	(span::first, span::last, span::subspan): Add noexcept. Improve
	precondition checks (LWG 3103).
	(get): Remove redundant condition from static_assert.
	(tuple_element<I, span<T, E>>): Fix static_assert message and simplify.
	(as_writable_bytes): Add inline specifier.
	* include/std/version (__cpp_lib_span): Change value.
	* testsuite/23_containers/span/back_neg.cc: Remove stray semi-colon.
	* testsuite/23_containers/span/front_neg.cc: Likewise.
	* testsuite/23_containers/span/index_op_neg.cc: Likewise.
	* testsuite/23_containers/span/last_neg.cc: Improve test.
	* testsuite/23_containers/span/subspan_neg.cc: Likewise.
	* testsuite/23_containers/span/1.cc: New test.
	* testsuite/23_containers/span/2.cc: New test.
	* testsuite/23_containers/span/back_assert_neg.cc: New test.
	* testsuite/23_containers/span/first_2_assert_neg.cc: New test.
	* testsuite/23_containers/span/first_assert_neg.cc: New test.
	* testsuite/23_containers/span/first_neg.cc: New test.
	* testsuite/23_containers/span/front_assert_neg.cc: New test.
	* testsuite/23_containers/span/index_op_assert_neg.cc: New test.
	* testsuite/23_containers/span/last_2_assert_neg.cc: New test.
	* testsuite/23_containers/span/last_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_2_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_3_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_4_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_5_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_6_assert_neg.cc: New test.
	* testsuite/23_containers/span/subspan_assert_neg.cc: New test.

From-SVN: r275411
2019-09-05 14:48:33 +01:00
..
abi.xml Update libstdc++ docs for library version bumps 2019-09-02 12:31:30 +01:00
algorithms.xml
allocator.xml Remove broken URL from libstdc++ manual 2019-09-05 08:46:00 +01:00
appendix_contributing.xml Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
appendix_free.xml
appendix_porting.xml
atomics.xml
auto_ptr.xml
backwards_compatibility.xml Remove broken links from libstdc++ manual to Doxygen pages 2019-03-22 20:57:35 +00:00
bitmap_allocator.xml
build_hacking.xml
codecvt.xml codecvt.xml: Move link to "UTF-8 and Unicode FAQ" to https. 2018-09-24 22:01:49 +00:00
concurrency.xml
concurrency_extensions.xml Remove broken links from libstdc++ manual to Doxygen pages 2019-03-22 20:57:35 +00:00
configure.xml Improve docs for --enable-libstdcxx-time=rt 2019-07-11 20:43:32 +01:00
containers.xml
ctype.xml
debug.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
debug_mode.xml
diagnostics.xml Update libstdc++ documentation for Support and Diagnostics clauses 2019-05-30 16:47:32 +01:00
documentation_hacking.xml documentation_hacking.xml: doxygen.org is now doxygen.nl. 2019-08-04 13:20:32 +00:00
evolution.xml LWG 2921 remove packaged_task constructors taking allocators 2019-05-23 22:40:56 +01:00
extensions.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
internals.xml
intro.xml LWG 2996 add rvalue overloads for shared_ptr aliasing and casting 2019-05-23 22:41:02 +01:00
io.xml
iterators.xml
locale.xml
localization.xml
messages.xml messages.xml: Switch link to www.oracle.com to https. 2018-09-30 11:41:31 +00:00
mt_allocator.xml
numerics.xml
parallel_mode.xml Remove broken links from libstdc++ manual to Doxygen pages 2019-03-22 20:57:35 +00:00
policy_data_structures.xml Small markup changes to PBDS docs 2019-05-13 21:11:47 +01:00
policy_data_structures_biblio.xml policy_data_structures_biblio.xml (COM: Component Model Object Technologies): Adjust name and link. 2019-09-01 12:42:41 +00:00
prerequisites.xml
shared_ptr.xml Fix names of _Lock_policy constants in libstdc++ manual 2019-05-21 14:50:35 +01:00
spine.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
status_cxx1998.xml PR libstdc++/77854 document size_type for containers 2018-08-22 13:11:17 +01:00
status_cxx2011.xml Update documentation of implementation-defined library features 2019-05-30 11:14:06 +01:00
status_cxx2014.xml PR libstdc++/90686 update C++2a library status docs 2019-06-03 14:23:03 +01:00
status_cxx2017.xml Fix outdated reference to C++17 draft in the docs 2019-06-20 10:13:03 +01:00
status_cxx2020.xml Improve precondition checks for std::span 2019-09-05 14:48:33 +01:00
status_cxxis29124.xml
status_cxxtr1.xml
status_cxxtr24733.xml
strings.xml
support.xml Update libstdc++ documentation for Support and Diagnostics clauses 2019-05-30 16:47:32 +01:00
test.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
test_policy_data_structures.xml Small markup changes to PBDS docs 2019-05-13 21:11:47 +01:00
using.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
using_exceptions.xml using_exceptions.xml: Move boost.orgs link to https. 2018-09-23 14:57:25 +00:00
utilities.xml