ValueTypeOfNullable

Gets type of

  • .Algebraic.get.2
  • method.

    template ValueTypeOfNullable (
    T : Algebraic!(typeof(null), Types)
    Types...
    ) {}

    Members

    Aliases

    ValueTypeOfNullable
    alias ValueTypeOfNullable = Types[0]
    Undocumented in source.
    ValueTypeOfNullable
    alias ValueTypeOfNullable = Algebraic!Types
    Undocumented in source.

    Examples

    static assert(is(ValueTypeOfNullable!(const Nullable!(int, string)) == Algebraic!(int, string)));
    static assert(is(ValueTypeOfNullable!(Nullable!()) == Algebraic!()));
    static assert(is(typeof(Nullable!().get()) == Algebraic!()));

    Meta