Little demo of allowing basic types to implement interfaces.
Dicebot
public at dicebot.lv
Wed Sep 4 03:48:55 PDT 2013
On Wednesday, 4 September 2013 at 10:33:26 UTC, Rory McGuire
wrote:
> I have a basic solution but it can't handle basic types LOL!
> you have to
> typedef them so that moduleName!T works.
Of course it can't, built-in types don't have any owning module,
those are not symbols. Why would you want to care about basic
types anyway?
More information about the Digitalmars-d-announce
mailing list