Homework help, guys!
Timon Gehr
timon.gehr at gmx.ch
Thu Aug 1 16:48:33 PDT 2013
On 08/02/2013 01:34 AM, hunt wrote:
> Hello, guys. It is weird to ask about my homework here, but I haven't
> gotten a proper answer yet. It's about D feature...maybe..
>
> http://dpaste.dzfl.pl/905d6ad7
>
> Question is that "Investigate how D allows you to defend your definition
> of Map so that it may be used only with a type of key that is
> comparable, and place this defense in your solution."
>
> Please leave your comments here. Thank you so much.
>
>
>
This should get you started:
http://dlang.org/concepts.html
http://dlang.org/traits.html#compiles
More information about the Digitalmars-d-learn
mailing list