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)
    struct Optional(T)
    pure
    this
    ()
  2. this(None )

Meta