[libcxx] r229281 - Implement C++14's sized deallocation functions, since there are no longer implicitly defined by clang, as of r229241.
Marshall Clow
mclow.lists at gmail.com
Mon Feb 16 06:56:05 PST 2015
>
> inline _LIBCPP_INLINE_VISIBILITY void* operator new (std::size_t, void* __p) _NOEXCEPT {return __p;}
> inline _LIBCPP_INLINE_VISIBILITY void* operator new[](std::size_t, void* __p) _NOEXCEPT {return __p;}
>
> These new declarations should be wrapped in a version check; we should only declare them in <new> if we're in C++14 or later.
As should the sized deletions as well.
— Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150216/5c326545/attachment.html>
More information about the cfe-commits
mailing list