[libcxx-commits] [libcxx] [libc++] Add missing hardening checks and tests for vector<bool> (PR #121366)

Peng Liu via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 9 08:08:21 PST 2025


winner245 wrote:

@var-const Thank you for your feedback! Regarding the note about `vector<bool>`, could you please provide some context on why my PR makes it possible to remove this note? I want to ensure I understand the impact of my changes before updating the docs. My PR added the `valid-element-access` and `valid-input-range` checks in 'operator[]', 'front', 'back', `pop_back`, `erase`. However, I don't see how these changes are related to the `vector<bool>` iterator as mentioned in the note.




https://github.com/llvm/llvm-project/pull/121366


More information about the libcxx-commits mailing list