[Issue 5231] BigInt lacks a normal toString()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 18 00:25:49 PST 2010


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



--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-11-18 00:24:35 PST ---
void toString()? Normally, it's string toString(). The only problem that I'm
aware of with regards to toString() design at the moment is the fact that it
must be _exactly_ string toString() and can't be const or pure or whatnot.

I don't see why BigInt can't just have a normal toString() which returns a
string representation of BigInt. Having a fancier toString() like it does now
may be useful, but I don't see how it precludes having a normal toString().

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