$(D_PSYMBOL popFront) and $(D_PSYMBOL popBack) advance the array and remove one element from its back, respectively.
$(D_PSYMBOL popFront) and $(D_PSYMBOL popBack) don't alter the array storage, they only narrow the view into the array.
Element type of array.
Built-in array.
Precondition: array.length > 0.
wstring array = "Der finstere Ozean der Metaphysik. Nietzsche"; array.popFront(); assert(array.length == 43); assert(array.front == 'e'); array.popBack(); assert(array.length == 42); assert(array.back == 'h');
See Implementation
$(D_PSYMBOL popFront) and $(D_PSYMBOL popBack) advance the array and remove one element from its back, respectively.
$(D_PSYMBOL popFront) and $(D_PSYMBOL popBack) don't alter the array storage, they only narrow the view into the array.