ScopeBuffer.put

Append array s to the buffer.

If const(T) can be converted to T, then put will accept const(T)[] as input. It will accept a T[] otherwise.

  1. void put(T c)
  2. void put(CT[] s)
    struct ScopeBuffer(T, alias realloc = .realloc)
    void
    put
    (
    CT[] s
    )
    if (
    isAssignable!T &&
    !hasElaborateDestructor!T
    &&
    !hasElaborateCopyConstructor!T
    &&
    !hasElaborateAssign!T
    )
  3. alias CT = Select!(is(const(T) : T), const(T), T)

Meta