[libcxx-commits] [PATCH] D57455: [libunwind] Provide inline placement new definition
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 1 14:35:54 PST 2019
ldionne added a comment.
In D57455#1381513 <https://reviews.llvm.org/D57455#1381513>, @mclow.lists wrote:
> @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; }
Yes, that seems by far like the best suggestion.
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