Assosiative array pop

seany via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 02:21:27 PDT 2014


On Wednesday, 25 June 2014 at 14:17:50 UTC, Meta wrote:

> If you want something like a hash table that preserves 
> insertion order, you could try using an array of tuples 
> instead. Then to "pop" the first element, just do 'arr = 
> arr[1..$]'.

Thank you, this is _exactly_ what I was looking for! Thank you so
much!


More information about the Digitalmars-d-learn mailing list