[libcxx-commits] [libcxx] [libc++] Fix bitset conversion functions and refactor constructor (PR #121348)

Peng Liu via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 13 08:52:50 PDT 2025


================
@@ -80,7 +80,7 @@ public:
     constexpr bool operator[](size_t pos) const;
     reference operator[](size_t pos);            // constexpr since C++23
     unsigned long to_ulong() const;              // constexpr since C++23
-    unsigned long long to_ullong() const;        // constexpr since C++23
+    unsigned long long to_ullong() const;        // since C++11, constexpr since C++23
----------------
winner245 wrote:

Yeah, this function was in C++11 standard mode, but we backported it to C++03. So I've now removed the "since C++11" description.

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


More information about the libcxx-commits mailing list