Vector.opBinary

Appends a value to an array using << operator

  1. typeof(this) opBinary(T rhs)
  2. typeof(this) opBinary(T[] rhs)
  3. typeof(this) opBinary(typeof(this) rhs)
    struct Vector(T)
    pragma(inline) ref nothrow @nogc
    typeof(this)
    opBinary
    (
    string op
    )
    (
    typeof(this) rhs
    )
    if (
    op == "<<"
    )

Parameters

rhs typeof(this)

The value to add

Meta