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

--- Comment #8 from rhalbersma <rhalbersma at gmail dot com> ---
For bitset::operator==, I wonder why (at last in C++20 and later mode) it is
not defaulted? 

For bitset::set and bitset::operator==, I also wonder why the manual loop vs
memset/memcmp consteval logic is not delegated to a call of std::fill_n or
std::equal, respectively? Then std::bitset is better proofed against future
changes in the tradeoffs between manual loops, unrolled loops or library calls,
no?

Reply via email to