[Issue 9286] std.conv.parse fails to compile with Nullable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 9 03:18:39 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9286



--- Comment #4 from jens.k.mueller at gmx.de 2013-01-09 03:18:37 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Tracking it further down:
> > isIntegral!(Nullable!(uint)) used to be true now it is false.
> > 
> > Is this expected to be true or false?
> 
> From a recent discussion I think this is now desired.

Can you point me to this discussion?
Because I'm unsure whether this is a good move. What if write my own integral
type? That type won't be usable with code using isIntegral. If you want to make
sure that you have a built-in integral you should to something like isBuiltIn!T
&& isIntegral!T.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list