We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e24670 commit 7a4133fCopy full SHA for 7a4133f
libcxx/include/bitset
@@ -464,9 +464,11 @@ protected:
464
return __const_reference(&__first_, __storage_type(1) << __pos);
465
}
466
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __iterator __make_iter(size_t __pos) _NOEXCEPT {
467
+ _LIBCPP_ASSERT_INTERNAL(__pos < __bits_per_word, "Out of bounds access in the single word bitset implementation.");
468
return __iterator(&__first_, __pos);
469
470
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __const_iterator __make_iter(size_t __pos) const _NOEXCEPT {
471
472
return __const_iterator(&__first_, __pos);
473
474
0 commit comments