http://d.puremagic.com/issues/show_bug.cgi?id=6843
--- Comment #6 from Jonathan M Davis <[email protected]> 2013-09-06 21:54:18 PDT --- Another possibility would be a function which did the same thing as std.conv.to except that it returned success, and the actual result was returned via an out parameter. That's even more similar to maybeTo, but again, a key difference is that there is zero throwing going on whatsoever and std.conv.to would not be benig wrapped, since the key thing we need here IMHO is to avoid throwing for efficiency's sake. This would probably require breaking out many of the toImpl functions so that they use this new function and then throw on failure (in order to avoid code duplication). Ultimately, issue# 6840 and this one are looking to solve essentially the same problem though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
