Need way to compare classes, and primitive types in bst Template

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 10 07:35:48 PDT 2017


On 06/10/2017 06:57 AM, Mark wrote:
> On Friday, 9 June 2017 at 15:12:04 UTC, ag0aep6g wrote:
> ...
>> Note that this is only supposed to show how to do the special casing 
>> for classes. addNode probably doesn't do exactly what it's supposed to 
>> do in your tree.
> 
>   I'm not sure what you mean by this?

Just that you shouldn't take my version of addNode and rely on it 
without double checking that it's correct.


More information about the Digitalmars-d-learn mailing list