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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 9 04:12:03 PST 2013


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



--- Comment #9 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-01-09 04:12:00 PST ---
> I believe the set of operations is unique. But I would need to try it out. Do
> you happen to know of an example that supports the set of integral oprations
> yet is no integral?

Floating point types support exactly the same set of operations as integral
types but with slightly different semantics. So, there's no way to test a
type's API for being an integral type without floating point types matching as
well. Also, would types like core.time.Duration or core.time.TickDuration count
as integral types? Both of them support those operations, and yet I wouldn't
consider them to be integral types.

-- 
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