CT-String as a Symbol

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 15 15:42:35 PDT 2015


On Wednesday, 15 April 2015 at 20:12:27 UTC, Ali Çehreli wrote:
> Ali

I cracked it:

Reason: I hade a failing unittest using it as

     auto xs = x.indexedBy!"I";

which I changed to

     auto xs = x.indexedBy!"Ix";

For some reason the mixin magic becomes confused when I equals 
"I".

Do you have any clues as to why?

Should we restrict IndexedBy to not allow I to equal "I"?

:)

Thx anyway.


More information about the Digitalmars-d-learn mailing list