unsafeCast.unsafeCast

Undocumented in source. Be warned that the author may not have intended to support it.
  1. U unsafeCast(T obj)
    template unsafeCast(U)
    @system
    U
    unsafeCast
    (
    T
    )
    (
    T obj
    )
    if (
    (
    is(T == class) ||
    is(T == interface)
    )
    &&
    is(U : T)
    )
    if (
    !is(U == const)
    )
  2. template unsafeCast(U)

Meta