allocate hash table manually

Mildred mildred593 at online.fr
Wed Sep 6 02:55:18 PDT 2006


Le mar 05/09/2006 __ 20:01 Johan Granberg __ __crit:
> I think this is what I have used.
> 
> class Value {
> 	...
> 	protected Value[char[]] _environment = null;
> 	...
> 	public void env_make(Stack S){
> 		Value[char[]] e;
> 		_environment = e;
> 	}
> 	...
> }

Thanks, that helps me.

Isn't there a solution with the new keyword, it is the normal way to
allocate on the heap, no ?

-- 
Mildred       <xmpp:mildred at jabber.fr> <http://mildred632.free.fr/>
Clef GPG :    <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]



More information about the Digitalmars-d mailing list