[Issue 3715] std.string.format can't use const/immutable toString functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 17 23:48:41 PDT 2010


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-09-17 23:48:07 PDT ---
nothrow and pure don't work either. My guess is that toString() must have the
_exact_ signature of public string toString() or it doesn't work with format(),
so _no_ other function modifiers can be used on it.

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