[libcxx-commits] [PATCH] D125496: [libc++] Simplify the string structures a bit more

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 11 10:56:22 PDT 2022


Mordante added inline comments.


================
Comment at: libcxx/include/string:695
+        size_type __size_ : 7;
+        size_type __is_long_ : 1;
     };
----------------
When you fix this can you add an `static_assert` that validates the size of the struct?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125496/new/

https://reviews.llvm.org/D125496



More information about the libcxx-commits mailing list