NotNull.this

Constructs with a runtime not null check (via assert()).

  1. this()
  2. this(T value)
    struct NotNull(T)
    pure nothrow
    this
    ()
    if (
    is(T == class) ||
    is(T == interface)
    ||
    is(T == U*,
    U
    ) &&
    __traits(isScalar, T)
    )
  3. this(typeof(null) )

Meta