Displaying 1 result from an estimated 1 matches for "pointer_identity_barri".
Did you mean:
pointer_identity_barrier
2016 Dec 01
2
Placement new and TBAA
On Sat, Nov 26, 2016 at 12:07 AM, Sanjoy Das <sanjoy at playingwithpointers.com
> wrote:
> So if you:
>
> 1. override operator delete to do nothing for that type (so that the
> placement new actually has unfreed backing storage to re-use).
> 2. have an empty destructor.
>
So,
void *operator new(decltype(sizeof 0), void *) noexcept;
struct MyInt {
static void