[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 8 09:04:05 PDT 2013


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



--- Comment #2 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-10-08 09:04:03 PDT ---
Created an attachment (id=1260)
Third example, which tests implicit, explicit and cast-based conversion

In fact, there is no reliable way to convert from a qualified BigInt type to an
unqualified one.  The 3rd code example attached shows attempted conversion
through both implicit conversion (simple assignment) and explicit (trying both
std.conv.to and cast).

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