On Fri, 04 May 2012 11:20:41 -0400, Benjamin Thaut
wrote:
Thanks, but thats exactly what I'm currently doing. This still is a
indirect function call, and I hoped that there is a way to directly call
the destructor.
Then no, there isn't a better way. If you look at that bug report, you
Am 04.05.2012 15:14, schrieb Steven Schveighoffer:
On Fri, 04 May 2012 08:38:21 -0400, Benjamin Thaut
wrote:
Am 04.05.2012 14:18, schrieb Steven Schveighoffer:
On Fri, 04 May 2012 02:45:03 -0400, Benjamin Thaut
wrote:
Hi,
I'm currently doing some manual memory management and as the delete
On Fri, 04 May 2012 09:14:11 -0400, Steven Schveighoffer
wrote:
I remember that __dtor does the wrong thing, and I advocated it should
do the same thing as calling xdtor, but it didn't go anywhere.
See this bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=5667
-Steve
On Fri, 04 May 2012 08:38:21 -0400, Benjamin Thaut
wrote:
Am 04.05.2012 14:18, schrieb Steven Schveighoffer:
On Fri, 04 May 2012 02:45:03 -0400, Benjamin Thaut
wrote:
Hi,
I'm currently doing some manual memory management and as the delete
keyword is deperecated I want to replace it with
Am 04.05.2012 14:18, schrieb Steven Schveighoffer:
On Fri, 04 May 2012 02:45:03 -0400, Benjamin Thaut
wrote:
Hi,
I'm currently doing some manual memory management and as the delete
keyword is deperecated I want to replace it with a custom Delete
template. I now need to destroy a array of stru
On Fri, 04 May 2012 02:45:03 -0400, Benjamin Thaut
wrote:
Hi,
I'm currently doing some manual memory management and as the delete
keyword is deperecated I want to replace it with a custom Delete
template. I now need to destroy a array of structs, this however seems
only be possible by
Hi,
I'm currently doing some manual memory management and as the delete
keyword is deperecated I want to replace it with a custom Delete
template. I now need to destroy a array of structs, this however seems
only be possible by using the typeinfo object of the struct and calling
xdtor on that