DynamicArray.backPop

Pop back element and return it.

This is well-missed feature of C++'s std::vector because of problems with exception handling. For more details see https://stackoverflow.com/questions/12600330/pop-back-return-value.

struct DynamicArray(T, alias Allocator = null, CapacityType = size_t)
@safe pragma(inline) @trusted
T
backPop
()
()
if (
!is(Unqual!T == bool) &&
(
is(CapacityType == ulong) ||
is(CapacityType == uint)
)
)

Meta