[libc++][docs] Mark LWG3274 as complete
authorJoe Loser <joeloser93@gmail.com>
Wed, 13 Oct 2021 02:30:58 +0000 (22:30 -0400)
committerJoe Loser <joeloser93@gmail.com>
Wed, 13 Oct 2021 02:31:32 +0000 (22:31 -0400)
commit8e92410ecc86f3ad29e038bf1abad7aa3fc20e7b
tree260b33e7d45487077c028aa3650a304989a542a1
parent39093279f2ede4af9048b89d048d7fe9182a50f8
[libc++][docs] Mark LWG3274 as complete

Mark LWG3274 as complete. The feature test macro `__cpp_lib_span` was added in
`6d2599e4f776d0cd88438cb82a00c4fc25cc3f67`.

https://wg21.link/p1024 mentions marking `span:::empty()` with
`[[nodiscard]]` which is not done yet. So, do that and add tests.

Reviewed By: ldionne, Quuxplusone, Mordante, #libc

Differential Revision: https://reviews.llvm.org/D111516
libcxx/docs/Status/Cxx20Issues.csv
libcxx/include/span
libcxx/test/std/containers/views/span.obs/empty.nodiscard.verify.cpp [new file with mode: 0644]
libcxx/test/std/containers/views/span.obs/empty.pass.cpp