[libcxx-commits] [PATCH] D127672: [libc++] Test the size of basic_string

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 16 14:54:41 PDT 2022


hubert.reinterpretcast added inline comments.


================
Comment at: libcxx/test/libcxx/strings/basic.string/sizeof.compile.pass.cpp:57
+
+static_assert(sizeof(small_pointer<char*> == 2));
+static_assert(sizeof(small_iter_allocator<char>) == 1);
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127672



More information about the libcxx-commits mailing list