[libcxx-commits] [PATCH] D57455: [libunwind] Provide inline placement new definition
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 1 14:08:49 PST 2019
mclow.lists added a comment.
@rsmith just reminded me (in IRC) that it's perfectly legal to declare operator new in your classes.
So why not add this to UnwindCursor? (warning - untested code):
static UnwindCursor *operator new(size_t, UnwindCursor* p) { return p; }
Repository:
rUNW libunwind
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57455/new/
https://reviews.llvm.org/D57455
More information about the libcxx-commits
mailing list