Go backward to Alloc(): Allocation
Go up to Allocation

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)

Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp

Prev Up