https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120364
Bug ID: 120364 Summary: std::bitset is missing hardened preconditions Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Blocks: 110339 Target Milestone: --- 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