Uri class and parser
jerro
a at a.com
Thu Nov 8 09:02:24 PST 2012
> Thnx. Got myself some new errors ;)
> It seems that std.string.indexOf() does not work at compile
> time. Is there a solution or alternative method for this?
I guess the proper solution would be to make std.string.indexOf
work at compile time. It looks like changing the first
if (std.ascii.isASCII(c))
line in std.string.indexOf to
if (!__ctfe && std.ascii.isASCII(c))
Makes it work at compile time.
More information about the Digitalmars-d
mailing list