[libcxx-commits] [libcxx] [libc++] Remove unnecessary division and modulo operations in bitset (PR #121312)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 26 09:01:18 PDT 2025


================
@@ -464,10 +464,14 @@ protected:
     return __const_reference(&__first_, __storage_type(1) << __pos);
   }
   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 __iterator __make_iter(size_t __pos) _NOEXCEPT {
----------------
ldionne wrote:

I filed that as https://github.com/llvm/llvm-project/issues/133111, let's do it in a follow-up

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


More information about the libcxx-commits mailing list