[NFC][libc++] Addresses LWG3927.

Changes to preconditions have no impact on the library.

Implements
- LWG3927 Unclear preconditions for operator[] for sequence containers

Reviewed By: #libc, philnik

Differential Revision: https://reviews.llvm.org/D153286
This commit is contained in:
Mark de Wever 2023-06-19 17:06:43 +02:00
parent 946116fc05
commit ffe0495105

View File

@ -12,7 +12,7 @@
"`3914 <https://wg21.link/LWG3914>`__","Inconsistent template-head of ``ranges::enumerate_view``","Varna June 2023","","","|ranges|"
"`3915 <https://wg21.link/LWG3915>`__","Redundant paragraph about expression variations","Varna June 2023","","","|ranges|"
"`3925 <https://wg21.link/LWG3925>`__","Concept ``formattable``'s definition is incorrect","Varna June 2023","|In Progress|","","|format|"
"`3927 <https://wg21.link/LWG3927>`__","Unclear preconditions for ``operator[]`` for sequence containers","Varna June 2023","","",""
"`3927 <https://wg21.link/LWG3927>`__","Unclear preconditions for ``operator[]`` for sequence containers","Varna June 2023","|Nothing To Do|","",""
"`3935 <https://wg21.link/LWG3935>`__","``template<class X> constexpr complex& operator=(const complex<X>&)`` has no specification","Varna June 2023","|Complete|","Clang 3.4",""
"`3938 <https://wg21.link/LWG3938>`__","Cannot use ``std::expected`` monadic ops with move-only ``error_type``","Varna June 2023","","",""
"`3940 <https://wg21.link/LWG3940>`__","``std::expected<void, E>::value()`` also needs ``E`` to be copy constructible","Varna June 2023","","",""

1 Issue # Issue Name Meeting Status First released version Labels
12 `3914 <https://wg21.link/LWG3914>`__ Inconsistent template-head of ``ranges::enumerate_view`` Varna June 2023 |ranges|
13 `3915 <https://wg21.link/LWG3915>`__ Redundant paragraph about expression variations Varna June 2023 |ranges|
14 `3925 <https://wg21.link/LWG3925>`__ Concept ``formattable``'s definition is incorrect Varna June 2023 |In Progress| |format|
15 `3927 <https://wg21.link/LWG3927>`__ Unclear preconditions for ``operator[]`` for sequence containers Varna June 2023 |Nothing To Do|
16 `3935 <https://wg21.link/LWG3935>`__ ``template<class X> constexpr complex& operator=(const complex<X>&)`` has no specification Varna June 2023 |Complete| Clang 3.4
17 `3938 <https://wg21.link/LWG3938>`__ Cannot use ``std::expected`` monadic ops with move-only ``error_type`` Varna June 2023
18 `3940 <https://wg21.link/LWG3940>`__ ``std::expected<void, E>::value()`` also needs ``E`` to be copy constructible Varna June 2023