\"\" \"\" \"\"
Go backward to Alloc(): Allocation
Go up to Allocation
RISC-Linz logo

alloc(): Allocation (Binding Form)

p.alloc()

Specification: Binds p to a new memory block that may hold any T object. The memory block does not yet hold any T object. This binding overrides any previous binding of p.

Note: This operation is more efficient than the otherwise equivalent form 

p = Pointer<T>::Alloc(n)

Author: Wolfgang Schreiner
Last Modification: April 12, 1997