AppShift-MemoryPool
AppShift-MemoryPool copied to clipboard
VS2013 warning C4291: "void *operator new(size_t,AppShift::MemoryPool *)"
Hi, I am using VS2013 + WindowsApplicationForDrivers8.1 to build my project
// global var
AppShift::MemoryPool pool;
//....
Object obj = new(&pool) Object;
//...
pool.free(obj);
then I got a warning C4291: "void *operator new(size_t,AppShift::MemoryPool *)": No matching delete operator found; memory will not be released if initialization throws an exception. Does this matter or can i just ignore it?