Optional.this

Constructs an Optional!T value by assigning T

If T is of class type, interface type, or some function pointer then passing in null sets the optional to none interally

  1. this(T value)
  2. this(None )
    struct Optional(T)
    pure
    this
    (
    const None
    )

Meta