SumType.this

Constructs a SumType holding a specific value.

  1. this(T value)
  2. this(const(T) value)
  3. this(immutable(T) value)
    struct SumType(TypeArgs...)
    immutable
    static if(isCopyable!T)
    this
    ()
    (
    auto ref immutable(T) value
    )
    if (
    is(NoDuplicates!TypeArgs == TypeArgs) &&
    TypeArgs.length > 0
    )
  4. this(const(T) value)
  5. this(immutable(T) value)
  6. this(SumType other)
  7. this(const(SumType) other)
  8. this(immutable(SumType) other)
  9. this()

Meta