The OpenD Programming Language

DynamicArray.AppendT

Either const(T) or T.

import containers.dynamicarray;
struct DynamicArray(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
static if(is(typeof((T[] a, const T[] b) => a[0 .. b.length] = b[0 .. $])))
alias AppendT = const(T)

Meta