Closed GoogleCodeExporter closed 9 years ago
It probably would also be better to rename the class, so that everyone can see
that it always handles arrays, not simple classes. I know, there is a comment
for that, but you never know.
If you decided to use that class for a simple object, you would call the wrong
delete operator on it, which produces undefined behavior.
Original comment by j.d...@gmx.de
on 1 Jul 2010 at 9:10
The scoped delete is only used to delete temporary buffers in some functions. I
wanted to use "goto failure", but it does not play nicely with all compilers.
There is no way I'm going to add dependency to boost.
I removed the assignment operator and moved the class def to another header
which is not usually visible and commented it being for internal use (R177).
Original comment by memono...@gmail.com
on 9 Jul 2010 at 1:02
Original issue reported on code.google.com by
j.d...@gmx.de
on 1 Jul 2010 at 9:07