Andrej Mitrovic:

I saw this
static cast thingy laying around somewhere:

auto static_cast(T,U)(U source)
{
    return cast(T)(cast(void*)source);
}

Maybe you meant:
http://d.puremagic.com/issues/show_bug.cgi?id=5559

Bye,
bearophile

Reply via email to