Summator.opCast

cast(C) operator overloading. Returns cast(C)sum(). See also: cast

  1. C opCast()
  2. C opCast()
    struct Summator(T, Summation summation = Summation.Precise)
    C
    opCast
    (
    C
    )
    ()
    if (
    is(Unqual!C == T)
    )
    if (
    isMutable!T &&
    (
    summation == Summation.Precise &&
    isFloatingPoint!T
    ||
    summation == Summation.Kahan &&
    isSummable!T
    ||
    (
    summation == Summation.KBN ||
    summation == Summation.KB2
    )
    &&
    (
    isFloatingPoint!T ||
    isComplex!T
    )
    )
    )

Meta