[libcxx-commits] [PATCH] D109056: [libc++] Disallow volatile types in std::allocator

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 20 15:25:40 PDT 2021


jloser updated this revision to Diff 373726.
jloser edited the summary of this revision.
jloser added a comment.

Remove tests that use containers with a (const) volatile type since they would trigger the static_assert.
Use is_volatile since the type trait exists even in C++03 mode.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109056

Files:
  libcxx/TODO.TXT
  libcxx/include/__memory/allocator.h
  libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
  libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
  libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.pass.cpp
  libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.volatile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109056.373726.patch
Type: text/x-patch
Size: 6521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210920/38aff84a/attachment-0001.bin>


More information about the libcxx-commits mailing list