A
Alex Vinokur
Is the any difference between
------ 1 ------
Foo* p = operator new (n * sizeof (Foo));
// Stuff
delete p;
---------------
and
------ 2 ------
Foo* p = new [n];
// Stuff
delete[] p;
---------------
?
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
------ 1 ------
Foo* p = operator new (n * sizeof (Foo));
// Stuff
delete p;
---------------
and
------ 2 ------
Foo* p = new [n];
// Stuff
delete[] p;
---------------
?
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn