I’ve recently received a bug report for my software not compiling on a MacOS platform, claiming that std::bitset<2ul>::all would be undefined.
cplusplus.com says that std::bitset really has only none() and any() defined. cppreference.com claims availability of all(). Does anyone has an authoritative source on that? And, maybe, a good reason why two equivalent boolean operators ( none() == ! any() ) were included in the standard, but not all()?
I’ve just checked ISO/IEC 14882:2003. There is no member
alldefined in thebitsetclass template (23.3.5).