Eliminate class allocators and deallocators?

Max Samukha spambox at d-coding.com
Thu Oct 8 06:20:03 PDT 2009


On Thu, 08 Oct 2009 16:31:00 +0400, "Denis Koroskin"
<2korden at gmail.com> wrote:
>
>But you are right, casting void* to Object does a reinterpret cast instead
>of dynamic cast. I'm not sure if that's a good design decision, though.
>

It is needed in situations where the cast is known to be safe. There
is also the undocumented _d_toObject(void*). What does it do exactly?



More information about the Digitalmars-d mailing list