Algebraic.opAssign

Assigns either a raw value or another Algebraic instance to this Algebraic, using compile-time type validation, and returns itself by reference.

  1. ref opAssign(Algebraic!RhsTypes rhs)
  2. ref opAssign(T rhs)
    struct Algebraic(T__...)
    ref return @trusted
    static if(!(is(T == void)))
    static if(__traits(compiles, (ref T a, ref T b)))
    opAssign
    (
    T rhs
    )