[libcxx-commits] [PATCH] D70117: [libc++][P0174] Deprecated/removed parts of default allocator.
Michael Park via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 13 05:31:24 PST 2020
mpark marked 4 inline comments as done.
mpark added inline comments.
================
Comment at: libcxx/include/memory:1361
__has_allocate_hint_test(_Alloc&& __a, _SizeType&& __sz, _ConstVoidPtr&& __p)
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
-> decltype((void)__a.allocate(__sz, __p), true_type());
----------------
mpark wrote:
> ldionne wrote:
> > What! I didn't know you could surround literally any piece of code with these pragmas! It does make sense though, since it's a preprocessor thing. Clang will really take the pragma into account when parsing just that part of the declaration?
> I believe so!
Never mind, You were right. I can't do this 😅
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70117/new/
https://reviews.llvm.org/D70117
More information about the libcxx-commits
mailing list