https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113807
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to rhalbersma from comment #8) > For bitset::operator==, I wonder why (at last in C++20 and later mode) it is > not defaulted? Because nobody bothered to change working code. > 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? Those aren't constexpr in C++14, but bitset is. If we delegated to those algos we'd still need a constexpr-in-C++14 manual loop.