NotNull.opCast

Undocumented in source. Be warned that the author may not have intended to support it.
  1. bool opCast()
    struct NotNull(T)
    bool
    opCast
    (
    T : bool
    )
    ()
    if (
    is(T == class) ||
    is(T == interface)
    ||
    is(T == U*,
    U
    ) &&
    __traits(isScalar, T)
    )
  2. NotNull!U opCast()

Meta