vendredi 28 avril 2017

How to free memory by pointer a (placement new)?

I can't understand how to properly free the memory by pointer a

MemoryManager mm;
char* a = new(mm) char[len];

Aucun commentaire:

Enregistrer un commentaire