https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118341

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |110339

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> *** Bug 120364 has been marked as a duplicate of this bug. ***

And C++26 requires these to be checked:

constexpr bool operator[](size_t pos) const;

 Hardened preconditions: pos < size() is true.

constexpr bitset::reference operator[](size_t pos);

 Hardened preconditions: pos < size() is true.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339
[Bug 110339] Implement C++26 library features

Reply via email to