nullable

Instantiator for Nullable.

  1. auto nullable(T a)
    nullable
    (
    T
    )
    (
    T a
    )
  2. auto nullable(T value)

Examples

auto x = 42.5.nullable;
assert(is(typeof(x) == Nullable!double));

Meta