https://d.puremagic.com/issues/show_bug.cgi?id=11698
--- Comment #2 from Jerry Quinn <[email protected]> 2013-12-07 14:06:08 PST --- Something like this? Target parse(Target, Source)(ref Source s) if (isSomeChar!(ElementType!Source) && is(Unqual!Target == bool)) { if (skipOver!("std.ascii.toLower(a) == b")(s, "true")) return true; if (skipOver!("std.ascii.toLower(a) == b")(s, "false")) return false; throw convError!(Source, Target)(s); } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
