VariantN.opBinary

Arithmetic between VariantN objects and numeric values. All arithmetic operations return a VariantN object typed depending on the types of both values involved. The conversion rules mimic D's built-in rules for arithmetic conversions.

  1. VariantN opBinary(T rhs)
  2. VariantN opBinary(T rhs)
  3. VariantN opBinary(T rhs)
    struct VariantN(size_t maxDataSize, AllowedTypesParam...)
    opBinary
    (
    string op
    T
    )
    (
    T rhs
    )
    if (
    op == "~"
    )

Meta