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

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 19 22:07:00 PDT 2022


hubert.reinterpretcast added inline comments.


================
Comment at: libcxx/include/string:740
+        size_type __size_ : 7;
+        char __padding_[sizeof(value_type) - 1];
         value_type __data_[__min_cap];
----------------
Is it really okay if the expression evaluates to zero?


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