Growable BinaryHeap: use w/Array?

Magnus Lie Hetland magnus at hetland.org
Sun Mar 6 07:02:42 PST 2011


On 2011-03-06 15:00:29 +0100, David Nadlinger said:

> On 3/6/11 2:58 PM, Magnus Lie Hetland wrote:
>> alias Tuple!(real,int) Entry;
>> Array!Entry Q;
>> [...]
>> alias Tuple!(real,int) Entry;
>> Array!Entry Q;
> 
> Is it just me, or is there really no difference between the two snippets? ;)

$(WITTY_REPLY) ;-)

The one that fails should have string (or some other reference type, 
perhaps) rather than int. Copy/paste fail :D

-- 
Magnus Lie Hetland
http://hetland.org



More information about the Digitalmars-d-learn mailing list