VoidBufferAsArrayOf.opOpAssign

Appends an element.

Note that a mutable copy of the appended element is made internally, but to access it from the outside, the constness of T applies.

  1. T[] opOpAssign(T[] arr)
  2. T[] opOpAssign(T element)
    struct VoidBufferAsArrayOf(T)
    T[]
    opOpAssign
    (
    string op : "~"
    )
    (
    in T element
    )

Parameters

element T

element to append

Return Value

Type: T[]

a slice of this array, now with the specified element appended

Meta